Jpgraph:即使缺少某些月份也显示全年
我想在图表中显示每个月的值。但根据年份的不同,开头或结尾的月份会丢失(例如,因为仅从四月而不是一月记录了值,或者因为本年度尚未结束)。
目前,Jpgraph 将仅显示具有值的月份。但我希望仍然有 12 个部分,缺少的部分应该是空的/零。
有没有办法让 Jpgraph 显示缺失的月份?
谢谢, 先生B
I want to show the values for each month in a graph. But depending on the year, months in the beginning or the end are missing (e.g. because values had only been recorded from April, not January, or because the current year isn't over yet).
Currently, Jpgraph will then only show the months that have values. But I'd like there to still be 12 sections, the missing ones should just be empty/zero.
Is there a way to have Jpgraph show the missing months?
Thanks,
MrB
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一步一步:
祝你好运
step by step:
good luck