刻度未显示为输入 [英] ticks not showing as entered

查看:76
本文介绍了刻度未显示为输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用highcharts的highstock库.我正在尝试填充其上的每月数据,但是导航器上的xAxis错过了几个月的时间.我需要包括所有月份.这是小提琴.

I'm working with highcharts' highstock library. I'm trying to populate monthly data on it but xAxis on navigator misses out some months. I need it to include ALL months. here's the fiddle.

我已经尝试过滴答间隔:

I've tried the tick intervals:

navigator: {
  adaptToUpdatedData: false,
    xAxis: {
        minTickInterval: 30*24*3600*1000
    }
}

建议?

推荐答案

您可以将tickPixelInterval设置为null,然后将tickInterval设置为30 * 24 * 3600 * 1000.

You can disable tickPixelInterval by setting it as null and then set tickInterval as 30 * 24 * 3600 * 1000.

示例: http://jsfiddle.net/voazL4cn/3/

这篇关于刻度未显示为输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆