浮动相同范围的刻度

发布于 2024-07-15 06:09:06 字数 81 浏览 2 评论 0原文

您好,我想添加不在固定范围内的刻度。 即我的刻度将为 1,2,3,3,3,3,4,5 我如何告诉图形类型的数据集根据刻度数而不是固定范围来绘制点。

Hi i want to add ticks that are not in a fixed range. i.e my ticks will be 1,2,3,3,3,3,4,5 how would i tell a data set for the graph type to plot points based on the tick number, instead of a fixed range.

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

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

发布评论

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

评论(1

み格子的夏天 2024-07-22 06:09:06

我发现了,我所做的是在我的刻度中设置一个递增范围从 0,1,n(+1) 的数组,并将其标签设置为我想要的任何内容 @0 = '27', @1 = '56 ', @2 = '67' ...等等,对于 x 轴点上的数据集,我根据增量范围填写了它。

I figured it out, what i did was in my ticks I set an array with an incrementing range from 0,1,n(+1) and set its label to whatever I want @0 = '27', @1 = '56', @2 = '67' ...etc and for my data sets on the x-axis point I filled it out based on my incrementing range.

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