How to fill the Area between two series with multiples yAxis in HighChart?

后端 未结 3 1957
南旧
南旧 2021-01-15 07:03

The topic of filling area between series has been discussed quite a lot. I\'ve seen some solutions using \'arearange\' series ( adding dummy serie with area ran

3条回答
  •  再見小時候
    2021-01-15 07:26

    I think your options are pretty much one of these two:

    1) Normalize your data before sending it to the chart so that they can use the same axis.

    2) Develop a complex script to determine where the series are in relation to each other and create your dummy series accordingly.

    HOWEVER.

    It's extremely important to consider the fact that with two series using two separate axes, measuring two different things on two different scales....

    The interaction between the 2 lines is completely meaningless.

    It is one of the major common pitfalls of data visualization to highlight the interaction between two such lines, but the interaction is entirely dependent on the mostly arbitrary scaling of the two completely different axis measurements.

    FWIW.

提交回复
热议问题