{"chart":{"caption":"Harry's SuperMart","subCaption":"Monthly revenue for last year","xAxisName":"Month","yAxisName":"Amount","numberPrefix":"$","theme":"fint","rotateValues":"1"},"data":[{"label":"Jan","value":"420000"},{"label":"Feb","value":"810000"},{"label":"Mar","value":"720000"},{"label":"Apr","value":"550000"},{"label":"May"},{"label":"Jun"},{"label":"Jul","value":"680000"},{"label":"Aug","value":"620000"},{"label":"Sep","value":"610000"},{"label":"Oct","value":"490000"},{"label":"Nov","value":"900000"},{"label":"Dec","value":"730000"}]}

<chartcaption="Harry&#39;s SuperMart"subcaption="Monthly revenue for last year"xaxisname="Month"yaxisname="Amount"numberprefix="$"theme="fint"rotatevalues="1"><setlabel="Jan"value="420000"/><setlabel="Feb"value="810000"/><setlabel="Mar"value="720000"/><setlabel="Apr"value="550000"/><setlabel="May"/><setlabel="Jun"/><setlabel="Jul"value="680000"/><setlabel="Aug"value="620000"/><setlabel="Sep"value="610000"/><setlabel="Oct"value="490000"/><setlabel="Nov"value="900000"/><setlabel="Dec"value="730000"/></chart>

Connecting Null Data

In our above Line chart, we were showing a break for the months of May and June. If you do not want to show this break for May and Jun, and want April to directly connect to July, you can do so using the connectNullData attribute.

{"chart":{"caption":"Harry's SuperMart","subCaption":"Monthly revenue for last year","xAxisName":"Month","yAxisName":"Amount","numberPrefix":"$","theme":"fint","rotateValues":"1","connectNullData":"1"},"data":[{"label":"Jan","value":"420000"},{"label":"Feb","value":"810000"},{"label":"Mar","value":"720000"},{"label":"Apr","value":"550000","dashed":"1"},{"label":"May"},{"label":"Jun"},{"label":"Jul","value":"680000"},{"label":"Aug","value":"620000"},{"label":"Sep","value":"610000"},{"label":"Oct","value":"490000"},{"label":"Nov","value":"900000"},{"label":"Dec","value":"730000"}]}

<chartcaption="Harry&#39;s SuperMart"subcaption="Monthly revenue for last year"xaxisname="Month"yaxisname="Amount"numberprefix="$"theme="fint"rotatevalues="1"connectnulldata="1"><setlabel="Jan"value="420000"/><setlabel="Feb"value="810000"/><setlabel="Mar"value="720000"/><setlabel="Apr"value="550000"dashed="1"/><setlabel="May"/><setlabel="Jun"/><setlabel="Jul"value="680000"/><setlabel="Aug"value="620000"/><setlabel="Sep"value="610000"/><setlabel="Oct"value="490000"/><setlabel="Nov"value="900000"/><setlabel="Dec"value="730000"/></chart>

Here we make use of the dashed attribute to differentiate between continuous data and the disconnected points.

The dashed attribute must be specified just before the discontinuity starts.