Asp.net 设置位置
我第一次使用Visual Basic中的Dotnet.Highcharts框架工作,我需要您的帮助。 我想设置位置,但我不知道如何设置Asp.net 设置位置,asp.net,dotnethighcharts,Asp.net,Dotnethighcharts,我第一次使用Visual Basic中的Dotnet.Highcharts框架工作,我需要您的帮助。 我想设置位置,但我不知道如何设置 code snippet: .SetYAxis(New YAxis With {.GridLineWidth = 0, _ .Title = New YAxisTitle With {.Text = "test text"}, _ .Min = 1, _ .Max = 3, _ .TickP
code snippet:
.SetYAxis(New YAxis With {.GridLineWidth = 0, _
.Title = New YAxisTitle With {.Text = "test text"}, _
.Min = 1, _
.Max = 3, _
.TickPositions = ??? })
感谢您的帮助类的
TickPositions
属性的类型是一个表示数字的特定Highcharts类型的数组
代码中有来自int
的Number
、double
的隐式转换运算符、可为null的int
s和double
s以及构造函数,因此定义它们的数组非常简单:
Dim tickPositions as Number?() = New Number?() {1, 2.5, new Number(123)}
或者在内联代码中:
.TickPositions = New Number?() {1, 2.5, new Number(123)} })
类的
TickPositions
属性的类型为表示数字的特定Highcharts类型的数组
代码中有来自int
的Number
、double
的隐式转换运算符、可为null的int
s和double
s以及构造函数,因此定义它们的数组非常简单:
Dim tickPositions as Number?() = New Number?() {1, 2.5, new Number(123)}
或者在内联代码中:
.TickPositions = New Number?() {1, 2.5, new Number(123)} })
就这样。我想知道“数字”是什么,只写了“数字”,而不是数字?就是这样。我对“数字”感到疑惑,只写了“数字”,而不是数字?