I have a line graph with two series, formatted in Highcharts. I would like to select one particular series and make the line dashed. I know I need to use some variation on
I do not know how to select the series I want in particular, and the syntax I need to do this.
Any help would be greatly appreciated.
Here's how I managed to achieve this:
In order to do this, you need to create a AdvancedDataSeriesFormat List variable on the screen. If you're using OS 10, you can prepare this variable on the onReady event of the screen. On this list, append a record with the series name and the following json code:
Then, assuming you called your list variable CustomSeriesStyle, set the AdvancedFormat parameter on your chart to something like
AdvancedFormat_Init(DataPointFormats:,DataSeriesFormats: CustomSeriesStyle, XAxisJSON:,YAxisJSON:,HighchartsJSON:)
I attached a sample application on this post, if you want to take a look.
Best of luck!Rodrigo
Many thanks both! This is now working.