在谷歌交互式条形图中将标签放在内部栏的顶部 [英] put labels on top of inside bar in google interactive bar chart

查看:118
本文介绍了在谷歌交互式条形图中将标签放在内部栏的顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用google 柱状图创建了条形图,现在


  1. 我的数据表中只有整数值,但google用acis除以浮点值,有没有办法强制图表标记只有整数?

  2. 有什么方法可以在顶部或内部条形图上显示值标签?我找到了图像图表的一些方法,但我希望保持图表互动。
  3. 你的第一个问题你可以使用 gridlines 属性,看看这篇文章 a>,看你如何使用它。



    对于第二个问题,我不太了解。当你用鼠标移动一个栏时,带有值的弹出框还没有显示在栏的顶部?


    I have created a bar chart using google Column Chart, now

    1. I have only integer values in my datatable but google divide acis with float values, is there a way to force chart mark only integers?
    2. is there any way to show value labels on top or inside bar chart? I found some way for image chart, but I whould like to keep chart interactive

    解决方案

    For your first problem you can use gridlines property, take a look at this post to see how you can use it.

    For the second question I don't really understand. When you go on a bar with your mouse, the popup with values isn't already displayed on the top of the bar?

    这篇关于在谷歌交互式条形图中将标签放在内部栏的顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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