03-05-2019 03:28 PM
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 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 working
03-06-2019 02:25 PM
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
03-06-2019 04:13 PM
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.
03-07-2019 02:20 AM
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
03-08-2019 09:03 AM
For charts above, I am using a simple bar chart with expansion curve, not stacked/grouped bar type.
03-11-2019 02:40 AM
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
03-11-2019 08:04 AM
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.
03-11-2019 08:36 AM
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
03-13-2019 08:00 AM
03-13-2019 10:06 AM
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