在 Google 图表中有效,但在 Eastwood 中无效?

发布于 2024-08-31 20:21:38 字数 289 浏览 3 评论 0原文

该图表在 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 技术交流群。

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

发布评论

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

评论(1

找回味觉 2024-09-07 20:21:38

在我的 1.1.0 Eastwood 安装中得到确认。应该指出的是,作者没有时间再发布版本,但他向定期修补错误的其他人授予了提交访问权限。

您可以获得最新和最好的:

svn co https://eastwood.svn.sourceforge.net/svnroot/eastwood 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:

svn co https://eastwood.svn.sourceforge.net/svnroot/eastwood eastwood

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.

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