set different colors for each column in highcharts

Here is another solution with the latest version of Highcharts (currently 3.0). Set the colorByPoint option to true and define the color sequence that you want. options = { chart: {…}, plotOptions: { column: { colorByPoint: true } }, colors: [ ‘#ff0000’, ‘#00ff00’, ‘#0000ff’ ] } Here is an example based upon Highcharts Column with … Read more

HighCharts : Is it possible to customize the colors of individual series?

Options can be set separately for each series. var chart = new Highcharts.Chart({ chart: { renderTo: ‘container’ }, xAxis: { type: ‘datetime’ }, series: [{ name: ‘John’, color: ‘#0066FF’, dashStyle: ‘ShortDash’, data: [ [Date.UTC(2010, 0, 1), 29.9], [Date.UTC(2010, 2, 1), 71.5], [Date.UTC(2010, 3, 1), 106.4] ] },{ name: ‘Mary’, color: ‘#FF0000’, data: [ [Date.UTC(2010, 0, … Read more

Why are Bootstrap tabs displaying tab-pane divs with incorrect widths when using highcharts?

The Cause This is not a Highcharts issue, at least not by itself, the problem is caused by the fact that Bootstrap uses display: none to hide inactive tabs: .tab-content > .tab-pane /* , .pill-content > .pill-pane */ { display: none; /* this is the problem */ } This causes Highcharts not able to get … Read more