Google可视化突出显示单个网格线 [英] Google Visualization highlight single grid line

查看:142
本文介绍了Google可视化突出显示单个网格线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何突出显示单个网格线?我想将光学温度限制设定在35°C。





谢谢!我现在将它添加到我的代码中,但它不起作用....你看到我的错误吗?或者我不明白你的解释中有什么?
这是修改后的版本:

  // Google Chart 
google.charts.load('current ',{
callback:function drawChart(peanut){
const div = document.createElement('div');
div.id = peanut.color + peanut.mac.split(' :')。join('');
$('#charts')。appendChild(div);
peanut.data = new google.visualization.DataTable();
花生。 data.addColumn('datetime','Time');
peanut.data.addColumn('number','

how can I highlight a single grid line? I would like to set an optical temperature limit at 35 ° C.

Thanks! I have now added it to my code, but it does not work .... do you see my mistake? Or did I not understand something in your explanation? Here is the edited version :

  //Google Chart
   google.charts.load('current', {
   callback: function drawChart(peanut) {
     const div = document.createElement('div');
     div.id = peanut.color + peanut.mac.split(':').join('');
     $('#charts').appendChild(div);
     peanut.data = new google.visualization.DataTable();
     peanut.data.addColumn('datetime', 'Time');
     peanut.data.addColumn('number', '
                        

这篇关于Google可视化突出显示单个网格线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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