本文介绍了使用negativeColor激活时奇怪地滑动图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Highcharts在移动图表中显示一些实时变化的数据(每秒添加一个点),就像。要清楚地看到我选择使用该系列的 negativeColor 属性的行的正面和负面部分(之间的区别)。



这实际上确实是我想要的,除了位于0以下的部分会非常奇怪地移动(几乎就像线条醉了)。我改变了示例的jsFiddle来反映我的问题:。



我的问题是:我怎样才能让'0以下'部分的'0'部分移动?



任何帮助或者深入了解这个问题是值得欢迎的。

解决方案

这个问题将在下一个版本的(当前版本是3.0.2,所以我猜测那会是3.1或3.0.3)。有关详情,请参阅。


I am using Highcharts to show some real time changing data in a moving chart (adding a point each second) much like the updating spline example on the highcharts website. To have a clear view of (the difference between) the positive and negative portions of the line I chose to use the negativeColor attribute of the serie.

This actually does exactly what I want except for the fact that the parts that are situated below 0 will move really strangely(almost like the line is drunk). I have changed the jsFiddle of the example to reflect my problem: edited example.

My question is: How can I make the 'below 0' part of the line move like the 'above 0' part?

Any help or insight into this problem is welcome.

解决方案

This issue will be fixed in the next version of highcharts (current version is 3.0.2 so I'd guess that would be 3.1 or 3.0.3). See the issue on Github for more information.

这篇关于使用negativeColor激活时奇怪地滑动图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 00:07