我想通过 highcharts 复制 github 上呈现的“打孔卡”样式图。
我真的很难解决这个问题,这里有一个 jsfiddle 开始让我到达那里。我宁愿在 y 上花几天时间,在 x 上花时间,但我不知道应该如何去做这件事。
任何帮助表示赞赏。
蒂亚!
I'd like to replicate the "punch-card" style graph presented on github via highcharts.
I'm really struggling with this one, here's a jsfiddle that starts to get me there. I'd rather have days on the y and time on the x, but I'm at a loss at to how I should go about doing this.
Any help appreciated.
TIA!
发布评论
评论(3)
我无法翻转轴,但为你解决了很多问题。
HTML:
JS:
I was not able to flip the axis but sorted out a lot of things for you.
HTML:
JS:
我想现在已经太晚了,但也许这个解决方案会帮助处于相同情况的其他人。
这是我的解决方案:
这是演示: http://jsfiddle.net/KmPJE/1/
让我知道这是否适合您。
I guess it's to late now but maybe this solution will help other people in the same situation.
Here is my solution:
And here is the demo: http://jsfiddle.net/KmPJE/1/
Let me know if that works for you.
我从@mangobug 更新了 jsFiddle 来指导您以更接近的方式做您想做的事情
I updated the jsFiddle from @mangobug to guide you to a closer way of doing what you want