Reputation: 181
I'm using Highcharts under C# .NET I want to include more data to include and show them on Series.
All classes of Series (ColumnSeriesData, PieSeriesData... limit us to a number of a specific fields bellow:
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 ?
Upvotes: 0
Views: 146
Reputation: 3695
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. It should be added in pairs: property name and value.
Upvotes: 1