Search code examples
javascripthighchartsdotnethighchartshighcharts-ng

Highcahrt time format issue


this is my yAxsis and normally displays time for column range chart

  yAxis: {

                type: 'datetime',
                labels: {
                    formatter: function () {
                        return Highcharts.dateFormat('%H:%M:%P', this.value);
                    }
                }

It normally works perfect when distance is some amount .

Question : When time distance between starttime and endtime is low then yAxsis dispalys 00:00 pm through the axsis I also tried %M:%P still dispalys 00:pm

here is the js fiddle


Solution

  • Thanks Sebastian .

    minPointLength  
    

    did work..