尝试制作具有特定开始和结束时间的堆栈柱形图。可以使用Jscript或php

发布于 2024-12-02 06:52:00 字数 315 浏览 3 评论 0原文

感谢您花时间阅读我的帖子,这让我花了很长时间。

基本上我想创建一个图表,在 y 轴底部显示 07:00 到顶部 20:00。然后在 x 轴上我想要该月的天数。然后,用户在图表中签入/签出活动,如当天的签到持续时间和签出持续时间。我遇到的主要问题是如何指定每个堆叠条形的起点和终点(每个时钟输入/输出活动)是我尝试过的任何库(尝试过 jqplot 和 FusionCharts)

如果有人可以建议 php/javascript库,它允许我创建一个堆积柱形图,让我指定堆栈中每个条目的起点和终点,这将是很棒的。 (有点像 jqplot 中的块图,但带有条形图)

谢谢:-)

Thank you for taking the time to read my post this is taking me ages.

Basically I want to create a graph that displays 07:00 at the bottom to 20:00 at the top of the y axis. Then on the x axis I want the days of the month. Then the users clocking in/out activity in the graph as in clocked in duration and clocked out duration on that day. The main problem I am having is how to specify a start and end point for each of the stacked bars (each clock in/out activity) is any library I've tried (tried jqplot and FusionCharts)

If anyone could suggest a php/javascript library that would allow me to create a stacked column bar chart that lets me specify the start and end point of each entry in the stack that would be great. (sort of like the block plot in jqplot but with bars)

Thanks :-)

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

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

发布评论

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

评论(1

迷雾森÷林ヴ 2024-12-09 06:52:00

您可能想尝试 Visifire。 Visifire 支持从 JavaScript 以及托管代码开发图表和仪表。请查看以下链接:

http://www.visifire.com/silverlight_stacked_charts_gallery.php

<一个href="http://www.visifire.com/documentation/Visifire_Documentation/Charts/Quick_Start/Silverlight/Working_with_JavaScript.htm" rel="nofollow">http://www.visifire.com/documentation/Visifire_Documentation/Charts/Quick_Start /Silverlight/Working_with_JavaScript.htm

当您使用 AxisX 和 DateTime 值时图表内的 AxisY,Visifire 仅支持 AxisX 中的日期时间值,但您也可以使用 CustomAxisLabels 功能在 AxisY 中显示日期时间值。欲了解更多信息,请查看下面的链接。

http://www.visifire.com/documentation/Visifire_Documentation/Charts /Reference/Chart_Elements_Reference/CustomAxisLabels.htm

You might want to try Visifire. Visifire supports developing charts and gauges from JavaScript as well as Managed code. Please check out the following links:

http://www.visifire.com/silverlight_stacked_charts_gallery.php

http://www.visifire.com/documentation/Visifire_Documentation/Charts/Quick_Start/Silverlight/Working_with_JavaScript.htm

As you working with DateTime values for both AxisX and AxisY inside the chart, Visifire supports DateTime values in AxisX only but you can display DateTime values in AxisY also using CustomAxisLabels feature. For more info please check the link below.

http://www.visifire.com/documentation/Visifire_Documentation/Charts/Reference/Chart_Elements_Reference/CustomAxisLabels.htm

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