[Solved] Highcharts column graph colors via sql data

And I had finally figured out how to make it work colors: [ <?php $num_counts = count($count); $on = 1; foreach($count as $bit => $bit_counts) { if($bit == ‘STEEL’){echo”‘#FF9999′”;} else if($bit == ‘STEEL CROWN’){echo”‘#FF9999′”;} else if($bit == ‘SLIM’){echo”‘#9999FF'”;} else if($bit == ‘KYMERA’){echo”‘#FF2626′”;} else if($bit == ‘HYBRID’){echo”‘#FF2626′”;} else if($bit == ‘EZC’){echo”‘#FFFF26′”;} else if($bit == ‘EZR’){echo”‘#FFFF26′”;} else … Read more

[Solved] How can i create Highchart xAxis labels centered and enclosed?

I would use Highcharts.SVGRenderer to draw rect elements, based on the ticks from the second xAxis and translate the labels. Please check the example below: chart: { events: { render: function() { var ticks = this.xAxis[1].ticks, x = this.plotLeft, y = 378, width, color=”blue”, textColor=”yellow”, height = 28; if (!this.customTicks) { this.customTicks = []; } … Read more