Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

FacetChart: Stacked Column with Positive and Negative Values Displays Incorrectly

$
0
0
We are currently using v9.1p_2014-05-21/Enterprise Deployment (built 2014-05-21) with IE9

When we have a stacked column chart with values that are postive and negative the chart does not display correctly. Negative values are not shown as negative, they seem to subtract from the previous values.

Using the data from the Multi-Series EE Showcase example:

See attachment 1 - Shows the exact same date used in example.

See attatchment 2 - Same date with first with following changes:

new MultiAxisChartData("1", "13 Sep 12", 0.55f, 8751),
new MultiAxisChartData("2", "13 Sep 12", 0.32f, 3210),
new MultiAxisChartData("3", "13 Sep 12", 0.21f, 2071),

To second series has the sign revered:

new MultiAxisChartData("1", "13 Sep 12", 0.55f, 8751),
new MultiAxisChartData("2", "13 Sep 12", -0.32f, 3210),
new MultiAxisChartData("3", "13 Sep 12", 0.21f, 2071),

As you can see in attachment 2 the second value -0.32 did not show under the 0 axis, it was subtracted from the overall value and caused the first value to be smaller.

See attachment 3 - the same data from attachment 2 graphed in Excel.

See how the second value shows below the zero and the first value is not affected by the negative second value.

Attached Images
File Type: png attachment 1.png (19.8 KB)
File Type: png attachment 2.png (27.0 KB)
File Type: png attachment 3.png (14.0 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles