I work for the first time with the Dotnet.Highcharts framework in Visual Basic and I need your help. I want to set the tickpositions, but I do not know how.
code snippet:
.SetYAxis(New YAxis With {.GridLineWidth = 0, _
.Title = New YAxisTitle With {.Text = "test text"}, _
.Min = 1, _
.Max = 3, _
.TickPositions = ??? })
Thanks for help
The
TickPositionsproperty of theYAxisclass is of typeNumber?()which is an array of a specific Highcharts type to represent numbersThere are implicit conversion operators in the code for
Numberfromint,double, and nullableints anddoubles, as well as constructors, so defining an array of them can be as easy as:or in your inline code: