DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem 2018 Report 2D Bart Chart with expand curve - not working

I am using DIAdem 2018 and trying to use 2D Bar Chart with expand curve (Sort by Group).

When I have two groups, expand curves worked as expected, Bar chart is set at 25 width and 25 offset.

however when I reopen the report template, the stacked bars gets reset to 0 offset.

2D Bar Chart - Curve expansion working2D Bar Chart - Curve expansion working

When I use more than 2 groups, the stacking doesn't work properly.

For 4 groups, first two are stacked correctly, 3rd and 4th offset is 0.

2D Bar Chart - Curve expansion NOT working2D Bar Chart - Curve expansion NOT working

 

 

 

0 Kudos
Message 1 of 10
(4,039 Views)

Are you building these charts using the Chart Wizard or manually? I'd be interested to check if the behavior is also seen if the charts are built using a script

0 Kudos
Message 2 of 10
(4,008 Views)

My Chart Wizard is crashing any time I am trying to add channel. So I am using only manual method.

Also, I am not using chart formatting using script, so not sure if this will be or not an issue using script.

 

3.jpg

0 Kudos
Message 3 of 10
(4,000 Views)

Hi Bhole_Amit_P,

The expansion mode is currently not supported for stacked bars and grouped bars. The reason is because there is not similar relationship between X and Y like you have for a simple curve or bar.

Greetings

Walter

0 Kudos
Message 4 of 10
(3,992 Views)

For charts above, I am using a simple bar chart with expansion curve, not stacked/grouped bar type. 

0 Kudos
Message 5 of 10
(3,977 Views)

If you use the simple bar chart, you must manually calculate the width and offset depending of the numbers of curves which should be displayed.

That’s the reason why we implemented the grouped (and stacked) bar charts.

Greetings

Walter

0 Kudos
Message 6 of 10
(3,965 Views)

Rick,

Thanks for your reply.

"simple bar chart, you must manually calculate the width and offset depending of the numbers of curves"

    - while using curve expansion, I did specify the width and offset manually, please see my very first post.

    - For 2 groups, DIAdem seems to reset the offset to 0 when I reopen template. That is first issue.

    - For more than 2 groups, manual width and offset is not working at all. This is second issue in my post.

 

"That’s the reason why we implemented the grouped (and stacked) bar charts."

 - You confirmed earlier than grouped/stacked bar charts are not designed to work with curve expansion.

 

So, there seems to be no solution to plot 2 or more stacked bars WITH curve expansion.

0 Kudos
Message 7 of 10
(3,951 Views)

If you have in example curve A in several groups and you use the curve expansion mode, how do you define the width and offset for each bar (curve A)? From my point of view this is not possible.

Yes, we have implemented the grouped (and stacked) bar charts so that values stored in different channels can easily be displayed side by side as bar chart. For this kind of diagrams, we support interactive (manually) or script configuration, but currently no curve expansion mode.

Greetings

Walter

0 Kudos
Message 8 of 10
(3,947 Views)

diadem curve expansion.jpg

0 Kudos
Message 9 of 10
(3,931 Views)

The checkbox „Expand curves“ is an option to prevent this curve from being displayed in the expansion mode.

The expansion mode for bar is currently a good choice if you have a different time (X) base for each channel like day 1, day 2, etc. If your time base is the same you can use the new grouped bars, but without expansion mode.

Calculation width and offset is not that easy. You have 100 % of space to display one bar in case you have one curve or n bars for n curves at given x value. So you need to calculate the width and offset depending on the number of curves and 100% space.

Greetings

Walter

Message 10 of 10
(3,923 Views)