我能够像这样惰性地内联初始化引导程序datepicker:
Value
因为我无法使用// maybe best at class level
Dictionary<string, int> machines = new Dictionary<string, int>();
// your reading loop here..
..
string machine = ..// your retrieval code here
if (!machines.ContainsKey(machine) ) machines.Add(machine, machines.Count);
// now add the point:
int px = yourSeries.Points.AddXY(machines[machine], yourYvalue1, yourYvalue2);
yourSeries.Points[px].AxisLabel = machine;
..
// loopend
,因为它返回了错误<input data-provide="datepicker">
。是否可以通过其他方式配置内联选项,或者我的设置中缺少某些内容?