Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Zoning a line chart
shamo
<p>I've been trying to add zones to a line chart but it isn't working.</p>
<p>Can anyone help me with this? attached is the report.</p>
<p>I'm using this script in the beforeGeneration: function(options)</p>
<p>{</p>
<p>options.series = [{</p>
<p>type:line</p>
<p>zoneAxis: 'x',</p>
<p>zones:[{</p>
<p>value:5,</p>
<p>color:'#fff23d'</p>
<p>dashStyle:'solid',</p>
<p>}]}]</p>
<p>}</p>
Find more posts tagged with
Comments
Clement Wong
<p><a data-ipb='nomediaparse' href='
http://www.highcharts.com/docs/chart-concepts/series#zones'>Zones</a>
; were released in HighCharts 4.1.0 (<a data-ipb='nomediaparse' href='
http://api.highcharts.com/highcharts#plotOptions.series.zones'>http://api.highcharts.com/highcharts#plotOptions.series.zones</a>)
. </p>
<p> </p>
<p>Commercial BIRT's HTML5 Charts uses HighCharts 3.0.4 and HighStock 1.3.4 as a base.</p>
<p> </p>
<p> </p>
<p>In your scenario, are you able to use <a data-ipb='nomediaparse' href='
http://api.highcharts.com/highcharts#plotOptions.series.threshold'>threshold
</a>and <a data-ipb='nomediaparse' href='
http://api.highcharts.com/highcharts#plotOptions.series.negativeColor'>negativeColor</a>
, which will work in commercial BIRT?</p>
<p> </p>
<p> options.series[0].negativeColor = "#ff0000";<br>
options.series[0].threshold = 5;<br>
</p>
<p> </p>
<p>What are your requirements for the end result of the chart? Maybe, there is a different way we can come up with.</p>
shamo
Thank you Clement. I really don't have a requirement. My user is a fun of line charts and uniqueness from the norm. Just trying to be ready anytime