[英]How to include more data on Series on Highcharts
I'm using Highcharts under C# .NET I want to include more data to include and show them on Series.我在 C# .NET 下使用 Highcharts 我想包含更多数据以包含并在系列中显示它们。
All classes of Series (ColumnSeriesData, PieSeriesData... limit us to a number of a specific fields bellow:系列的所有类(ColumnSeriesData、PieSeriesData...)将我们限制为以下特定字段的数量:
public string ClassName { get; set; }
public string Color { get; set; }
public double? ColorIndex { get; set; }
public Hashtable CustomFields { get; set; }
public PieSeriesDataLabels DataLabels { get; set; }
public string Description { get; set; }
public PieSeriesDataDragDrop DragDrop { get; set; }
public string Drilldown { get; set; }
public PieSeriesDataEvents Events { get; set; }
public string Id { get; set; }
public double? Labelrank { get; set; }
public double? LegendIndex { get; set; }
public string Name { get; set; }
public bool? Selected { get; set; }
public bool? Sliced { get; set; }
public double? Y { get; set; }
How can i add a personalised field?如何添加个性化字段?
Yes, each class in Highcharts.NET or Highstock.NET contains the CustomFields
property where you can define fields that will later be thrown in JS.是的,Highcharts.NET 或 Highstock.NET 中的每个类都包含
CustomFields
属性,您可以在其中定义稍后将在 JS 中抛出的字段。 It should be added in pairs: property name and value.它应该成对添加:属性名称和值。
API example: https://dotnet.highcharts.com/Help/Highcharts/html/class_highsoft_1_1_web_1_1_mvc_1_1_charts_1_1_spline_series.html#a911f05a5827c3d33cc5dceb79bb55b24 API 示例: https ://dotnet.highcharts.com/Help/Highcharts/html/class_highsoft_1_1_web_1_1_mvc_1_1_charts_1_1_spline_series.html#a911f05a5827c3d33cc5dceb79bb55b24
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.