T
T
Triglav772019-08-22 15:02:40
Highcharts
Triglav77, 2019-08-22 15:02:40

How to make data spacing uniform?

I use Highstock for charting

navigation = new Highcharts.StockChart({
                        chart: {
                            renderTo: 'chartdiv'
                        },
                        navigator: {                      
                            xAxis: {
                                labels: {
                                    y: 10                                   
                                },
                                type: 'datatime',
                                dateTimeLabelFormats: {
                                    day: '%d/%b',
                                    week: '%d/%b',
                                    month: '%d/%b',
                                    year: '%d/%b'
                                },
                                minTickInterval: 0,
                                minorTickInterval: 3600 * 24                               
                            }
                        },
.........

So when all the data for a certain time interval is there, everything is fine. The gradation is uniform. But if I take a time interval where there is no piece of data, then the graph compresses them. If the option is to leave the gradation uniform even where there is no data.
Example
5d5e8455eb897811036781.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question