Feature #24850 is supposed to show price labels for horizontal lines. How do I enable it?
Interesting. I am running v8.1.6.0 and do not have “Price marker” option.
That is rather strange. For reference, I’m still using (and the screenshot came from) 8.1.5.2. For me the option is present and works as intended.
Does your @Lines.cs file contain any references to PriceMarker? Here’s a snippet from the HorizontalLine class in mine (lines 81-86):
[Display(ResourceType = typeof(Custom.Resource), GroupName = "NinjaScriptGeneral", Name = "NinjaScriptDrawingToolPriceMarker", Order = 1000)]
public bool IsPriceMarkerVisible { get; set; }
public override bool GetPriceMarkersSupported() => IsPriceMarkerVisible;
public override Dictionary<double, Brush> GetPriceMarkers(ChartControl chartControl, ChartPanel chartPanel) => !IsPriceMarkerVisible ? null : new Dictionary<double, Brush> { { StartAnchor.Price, Stroke.Brush } };
If you don’t have this in your file you might consider a clean re-install. You may not have the latest version. If you do, and you’re not seeing the property, it might be time to get support@ involved with yet another 8.1.6 issue.
