-
Notifications
You must be signed in to change notification settings - Fork 3
ImplementingNewHighcharts
Peter Steiwer edited this page Jun 17, 2020
·
4 revisions
To implement a new Highchart Chart type, follow the below instructions once you have selected a chart type that you wish to use
- Create a new class in the ThirdPartyChartPortlets.Highcharts package.
ThirdPartyChartPortlets.Highcharts.LineChart
- This new class should extend ThirdPartyChartPortlets.Highcharts.Base
Class ThirdPartyChartPortlets.Highcharts.LineChart Extends ThirdPartyChartPortlets.Highcharts.Base
- Override DisplayName Parameter
- This should contain the value of what you want your chart type to display as
Parameter DisplayName = "Line";
- Override ChartType Parameter
- This should contain the value of the Highcharts.chart.type property
Parameter ChartType = "line";
- Override the drawChart method if needed
- Overriding this method is needed when extra calculations or data array structure changes are needed
ClientMethod drawChart(resultSet, containingid) [ Language = javascript ]