0

when i use highchart in my live site it cut down the first date of chart on demo server it runs excellent but on live it create problem here is snap shot for that

enter image description here

the first label date is not view properly on demo server it looks perfect but on live it create issue. it should be look like this.

enter image description here

Any help will be appreciate

Updated

after applying your solution there is small gap between label and bar any solution for this??

enter image description here

abc
  • 27
  • 8

1 Answers1

0

You need to increase spacingLeft parameter value.

chart: {
   spacingLeft:50
}
Sebastian Bochan
  • 37,348
  • 3
  • 49
  • 75
  • Thanks for your answer i will apply it and update here if it works. – abc Nov 27 '15 at 08:18
  • apply it to live site then there is some gap between bar and the label can have any solution for that? here is screenshot – abc Dec 07 '15 at 07:00
  • You can use [pointPlacement](http://api.highcharts.com/highcharts#plotOptions.series.pointPlacement) or set [pointRange](http://api.highcharts.com/highcharts#plotOptions.column.pointRange) params. If it will not solve your problem, please supply a jsfiddle with your chart. – Sebastian Bochan Dec 07 '15 at 09:30
  • how to convert date 2015-11-30 into epoch time format because in fiddle it is not creating any issue but at server it creates issue because it is hosted on usa server so it creates issue js fiddle is here http://jsfiddle.net/6wtdtvx2/15/ – abc Dec 07 '15 at 10:14
  • because of time change it will create issue – abc Dec 07 '15 at 10:15