Rank: Advanced Member
Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered Joined: 1/3/2011(UTC) Posts: 483
Thanks: 0 times Was thanked: 87 time(s) in 87 post(s)
|
Hi, You can use our our plot lines and plot bands functionality: http://www.jqchart.com/jquery/chart/ChartAxes/PlotLineshttp://www.jqchart.com/jquery/chart/ChartAxes/PlotBandsIn your case you can add a plot line to the x-axis with: Code: axes: [ { location: 'bottom', plotLines: [ { lineWidth: 2, strokeStyle: 'green', value: 42, // put your x-value zIndex: 0, // Posible values - 0, 1, 2 title: { text: 'Target 1', hAlign: 'right', fillStyle: 'green' } } ] } ], Best Regards, Dragan Matek jqChart Inc.
|