Recently an update went live that added native support for different chart marker sizes. Naturally I would like to add support for it, but found some issues. I noticed that size enum cannot be directly called upon. From my understanding, anything compiled that is not native to C# has to be hard coded or that the namespace has to be explicitly stated.
What's interesting is enum such as the DashStyleHelper I'm able to set directly when in a compiled assembly. For example,
newStrokeStyle = DashStyleHelper.DashDot; line.Stroke.DashStyleHelper = newStrokeStyle;
newChartMarkerSize = ChartMarker.Small; chartMarker.Size = newChartMarkerSize;
My question, is the DashStyleHelper something that is native in C# and that the NinjaTrader.Gui namespace integrates somehow? Again I don't fully have a grasp on the inner workings. Just find it odd that the code requires this manual method of setting an enum when the DashStyleHelper enum worked fine.
Best regards,
Unsuitable
