在 Google 图表中有效,但在 Eastwood 中无效?
该图表在 Google 图表中运行良好,但在 Eastwood 中渲染时,它不使用第二个提供的颜色,而是将第一种颜色应用于图表中的两个条形。
http://chart.apis.google.com/chart?cht=bvg&chs=150x150&chd=t:18,81&chco=FFF000|00FFFF&chxt=x,y&chl=Bar1|Bar2&chtt=Chart
关于为什么会这样的任何建议?不幸的是,伊斯特伍德似乎有些被遗弃了。
This chart works fine in Google charts, but when rendered in Eastwood, it doesn't use the 2nd provided color, rather it applies the first color to both bars in the chart.
http://chart.apis.google.com/chart?cht=bvg&chs=150x150&chd=t:18,81&chco=FFF000|00FFFF&chxt=x,y&chl=Bar1|Bar2&chtt=Chart
Any suggestions as to why this could be? Unfortunately it looks like Eastwood is somewhat abandoned.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我的 1.1.0 Eastwood 安装中得到确认。应该指出的是,作者没有时间再发布版本,但他向定期修补错误的其他人授予了提交访问权限。
您可以获得最新和最好的:
不幸的是,问题仍然存在于主干中,并且他们还破坏了与 Google Charts API 的向后兼容性(图表看起来不一样;他们试图添加一些着色效果)。
我试图翻遍 Eastwood 的后备箱,看看出了什么问题,但代码完全是一团糟。我现在对 Tomcat servlet 的了解还不够多,无法进行更多调试。抱歉,我无法提供更多帮助。
Confirmed in my 1.1.0 Eastwood installation. It should be noted that the author doesn't have time to do releases anymore, but he's given commit access to others who are patching with bugs regularly.
You can get the latest and greatest with:
Unfortunately, the problem is still present in the trunk, and they also broke backward compatibility with Google Charts API (graphs just don't look the same; they tried to add some colorization effects).
I tried to dig through the Eastwood trunk to see what was going wrong, but the code is a complete mess of spaghetti. I don't know enough about Tomcat servlets to do much more debugging right now. Sorry I couldn't be more helpful.