Javascript examples for highcharts:Column Chart
Stacked column range chart to plot a given point and remove color from the stack block
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #container {/* w ww . j av a2s. c o m*/ min-width: 300px; max-width: 800px; height: 300px; margin: 1em auto; } </style> <script type="text/javascript"> window.onload=function(){ const options = { chart: { type: 'columnrange' }, series: [{ name: 'Temperatures', data: [{ borderWidth: 2, borderColor: Highcharts.getOptions().colors[1], color: 'rgba(0,0,0,0)', x: 0, low: 0, high: 10 }, { borderWidth: 2, borderColor: Highcharts.getOptions().colors[1], color: 'rgba(0,0,0,0)', x: 0, low: 10, high: 16 }, { borderWidth: 2, borderColor: Highcharts.getOptions().colors[1], color: 'rgba(0,0,0,0)', x: 0, low: 16, high: 20 }] }] } const chart = Highcharts.chart('container', options); } </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/highcharts-more.js"></script> <div id="container"></div> </body> </html>