highcharts - Navigator 不在 highstocks 图表的底部工作
问题描述
我有一个运行在https://weather.wesleyweisenberger.com的网站,目前我在不同的图表中显示温度、压力和湿度。图表的代码是:
$('#tempGraph').highcharts('StockChart', {
series: tempSeries,
xAxis: {
type: 'datetime',
showInNavigator: true,
tickInterval: 15 * 60 * 60,
minRange: 1
},
yAxis: [{
title: {
text: 'Temperature'
},
labels: {
format: '{value}°C'
}
}],
title: {
text: 'Temperature Over Time'
},
rangeSelector: {
buttons: [{
type: 'day',
count: 1,
text: '1d'
}, {
type: 'day',
count: 7,
text: '1w'
}, {
type: 'month',
count: 1,
text: '1m'
}, {
type: 'year',
count: 1,
text: '1y'
}, {
type: 'all',
text: 'All'
}]
}
})
但不幸的是,导航器在页面底部没有工作,它在某些地方工作,比如在我的手机上,但它似乎不适用于 chrome。有没有什么办法解决这一问题?
解决方案
推荐阅读
- r - 如何从具有不同格式和货币类型的叙述中提取货币价值和货币?
- angular - flatMap 不是 Angular Universal 中的函数;tsconfig.server.json 配置错误?
- uwp - C++/WinRT 无法从 'winrt::com_ptr 转换参数 1
' 到 'winrt::array_view - python - 基准测试 Python 并行,为什么 Ubuntu 的执行速度比 Windows 慢?
- angular - 如何以角度访问组件中的changelog.md文件?
- javascript - 在 react-native 中的 headerRight 上添加多个按钮
- cassandra - 在 Cassandra 中创建时 JanusGraph .graphml 文件架构问题
- c# - 会有更好的方法来做到这一点吗?
- php - 有没有办法从 PHP 脚本中达到 API 端点但保留原始请求方法?
- jekyll - Jekyll 网站的 Netlify 构建失败:没有这样的文件或目录