GrapeCity / wijmo-demo

0 stars 0 forks source link

Discussion on #Chart/LineArea/StackedLineWithLineMarker #7

Open JMGonzalezR opened 3 years ago

JMGonzalezR commented 3 years ago

Here Seems like there some bugs.

First one:

There are 6 type of data (Continents) but only are 5 lines to represent the data, North America is missing.

Second one:

The relation of numbers and position in the graph is wrong

Here you can see that that Oceania only have 12.7 in population but in the graph is above 2000, the graph seems like is taking the total vertical and horizontal of all the elements.

image

I tested this locally with different data and got the same errors, the graph is showing the "Low" but have the data of the "medium" one

image


Chart/LineArea/StackedLineWithLineMarker

banzor commented 3 years ago

Thanks for reporting this issue. We are investigating it and will report back.

atref commented 3 years ago

@JMGonzalezR, thank you for noticing the problem.

The North America series isn't visible because it's covered by Oceania. Oceania data is very small at this scale, only a pixel or two. It's a stacked chart so each series value is plotted on the top of the value from previous series. If you need normal, non-stacked chart please set stacking property to None.

So, I believe technically the chart is correct but the data that was chosen for plotting is wrong. We're going to remove Oceania series from this chart to avoid the confusion.

banzor commented 3 years ago

FYI, the corrected version of this sample has been published. You can see it here: https://www.grapecity.com/wijmo/demos/Chart/LineArea/StackedLineWithLineMarker/purejs