score:0
use plotLines to darw lines on the chart
yAxis: [{
plotLines:[{
value : where do you want the line,
color: 'color for the line'
}]
}]
the same is possible for xAxis
if you want you can add them on demand using the method addPlotLine();
here is the example for plotLines http://jsfiddle.net/QWLhC/
chart.xAxis[0].addPlotLine({
value: where do you want the plotLine,
color: 'color of the plot line'
});
score:0
You can use simple line series, where each error bar will be separate series, but all will be connected to one master series, see example: http://jsfiddle.net/3bQne/646/
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container'
},
plotOptions: {
line: {
color: 'red',
lineWidth: 10,
marker: {
enabled: false,
states: {
hover: {
enabled: false
}
}
}
}
},
series: [{
type: 'column',
name: 'some data',
data: [4, 11, 5, 16, 9, 22, 11, 1]
}, {
type: 'line',
name: 'errors',
id: 'err',
data: [ [0, 4],[3, 4]]
}, {
type: 'line',
name: 'errors',
linkedTo: 'err',
data: [ [3, 1], [6, 1]]
}, {
type: 'line',
name: 'errors',
linkedTo: 'err',
data: [ [2,10], [3,10]]
}]
});
Source: stackoverflow.com
Related Query
- Highcharts - How to get horizontal error bars?
- How can I get highcharts barChart bars to always fill the container?
- How do you get a colorByPoint appearance in Highcharts without coloring all the bars in a group the same color?
- How to get rid of highcharts 13 error in angular?
- How to get highcharts dates in the x axis?
- How can I get access to a Highcharts chart through a DOM-Container?
- How to get Highcharts X-Axis Categories starting at the left most point
- How can I fix Highcharts error #13?
- Hiding _groups_ of series in Highcharts and jQuery: how to get acceptable performance?
- how do I get two highcharts on one page?
- How to get rangeSelector to work with HighCharts
- How to get series's id in Highcharts / Highstock
- How do I get the value of a highcharts graph point on mouseover?
- How to get an image watermark in HighCharts charts?
- HighCharts box-plot: how to make it horizontal
- How to get multiple data series into Highcharts
- Highcharts - How to get a value of a stack in a series?
- how to get chart object inside a point event function in Highcharts
- how to get svg of highcharts using div id?
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- Highcharts How to get decimal point values on y-axis with big numbers
- Highcharts - How do I get dashed lines in legend
- Highcharts error #13: www.highcharts.com/errors/13 how to solve this error
- How to get next point in Highcharts tooltip
- How to get the Div id of charts in highcharts on click of it in angular 6
- Highcharts - How to get default y-Axis label formatter in a custom formatter
- How to avoid horizontal scrollbar in highcharts
- HighCharts Stock Chart error code 18
- Highcharts basic bar graphs. How to remove strokewith from the bars
- How do I get my highcharts to reduce in size when the window is resized down
More Query from same tag
- Color plots depending of value
- Loading Javascript Highcharts series data issues
- Highmaps choropleth showing unique color/ Highmap not seeing the value field in the data
- How to use a javascript variable in highcharts series?
- Highcharts sync is not working horizontally
- How to show No Data Available Message in highcharts
- Different ToolTip text For Links and Nodes in Highcharts Sankey Charts
- Highcharter deprecated function's output is different than suggested
- Highcharts: send chart object as Javascript variable?
- Using highchart SVG images with Selenium
- gem Lazy High Charts - Pie Donut
- Highcharts with data from table, how to add custom marker for specific value from specific series?
- How to loop through highcharts theme
- How to make Basic Line chart to show value
- how to handle mouse over event in legend in highcharts?
- can zoom be mixed with multiple y-axis in highstock
- highcharts have data Labels only on some points
- Highmaps call JavaScript function when region is clicked
- highcharts changing dial value interactive with mouse events
- highcharts column stack label
- Add color gradient color on bar HIghchart
- Standalone simple chart not working - highcharts
- How to save and restore and Highstock chart with indicators?
- How do I change the opacity of a series in Highcharts?
- Use pandas to convert csv to json for plotting two series instead of one in highcharts highstock graph
- How to display fixed tooltip position in a multiple series highchart?
- Highcharts: how to be DRY with charts which share some configuration parts?
- Is this graph possible to do using Highchart?
- Highstock - irregular time interval
- Cannot read property 'addEvent' of undefined