Google 图表轴起点

发布于 2024-08-21 10:50:16 字数 716 浏览 4 评论 0原文

下面是我正在使用的图表的网址。

http://chart.apis.google.com/chart?cht=lc&chco=99C754&chs=400x150&chds=20,1&chd=t:1.0,1.0,1.0,1.0,1.0& chxt=x,y&chxl=0:|12/07/09|12/14/09|12/21/09|12/28/09|01/04/10&1:1|10|20&chxr =1,20,0,10&chls=2&chg=25,100,1,2&chm=o,54C7C5,0,-1,5&chxtc=1,15|0,15

我想要y 轴从 1 开始,但在我的图表中是从 0 开始。

请帮助我

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

知足的幸福 2024-08-28 10:50:16

稍微看一下google
展示 :

轴范围chxr
您可以指定
每个上出现的值的范围
轴独立,使用 chxr
范围。请注意,这并不
更改图表的比例
元素,只有轴的比例
标签。如果你想制作轴
数字描述了实际数据
值、设置和
到你的下限值和上限值
数据格式范围分别。看
轴缩放了解更多信息。

您必须使用以下命令使轴可见
如果需要,可以使用 chxt 参数
指定其范围。

要指定自定义轴值,请使用
chxl 参数。

http://code.google.com/ intl/iw/apis/chart/docs/gallery/bar_charts.html#axis_range

little look at google
show :

Axis Range chxr :
You can specify the
range of values that appear on each
axis independently, using the chxr
parameter. Note that this does not
change the scale of the chart
elements, only the scale of the axis
labels. If you want to make the axis
numbers describe the actual data
values, set and
to the lower and upper values of your
data format range, respectively. See
Axis Scaling for more information.

You must make an axis visible using
the chxt parameter if you want to
specify its range.

To specify custom axis values, use the
chxl parameter.

http://code.google.com/intl/iw/apis/chart/docs/gallery/bar_charts.html#axis_range

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文