[Bug] Charts with data grouping
Posted: Thu Aug 25, 2016 8:55 am
Hello,
just as a background info, I'm currently looking for an alternate reporting tool to Crystal Reports that our company's been using for years now. I've tried Telerik but was not completely satisfied. Then I stumbled upon Stimulsoft Reports, installed the trial and I'm enjoying working with the software so far. But recently I've discovered an obstacle that I need to resolve in order to move on.
Now to the problem. I have data in my report that describe usage of certain machines over time. Basically, I have a table with machines and for each there are dates with corresponding usage values. I can easily visualize this in a line chart where there is the time as an argument (x axis), the usage as values (y axis) and machines as auto series key data column (to generate series). That works fine, the particular series in the chart represent the usage of the machines over time.
The problem comes when the machines are divided into several groups (in the table there is a column describing the group assigned to each machine). I will need to make a chart separately for the machines in each group. It's easy to do with just a table - I've created a group band with a condition set to the machine group column. This way I'll add text fields into a data band inside the group band and generate data for each machine group the way I want. But if I add the chart into the group header, the chart works with all of the data and not only with the grouped as one would expect.
This would work in Crystal Reports for example. In Telerik I had the same problem, but I managed to resolve it by binding the data source of the chart to the data of the object it was inside (the group header). But how to do this in Stimulsoft Reports? This is key for me because we need to generate multiple charts based on data grouping in our reports.
Thank you in advance for any insight into this.
EDIT: The bug is described in the post below.
just as a background info, I'm currently looking for an alternate reporting tool to Crystal Reports that our company's been using for years now. I've tried Telerik but was not completely satisfied. Then I stumbled upon Stimulsoft Reports, installed the trial and I'm enjoying working with the software so far. But recently I've discovered an obstacle that I need to resolve in order to move on.
Now to the problem. I have data in my report that describe usage of certain machines over time. Basically, I have a table with machines and for each there are dates with corresponding usage values. I can easily visualize this in a line chart where there is the time as an argument (x axis), the usage as values (y axis) and machines as auto series key data column (to generate series). That works fine, the particular series in the chart represent the usage of the machines over time.
The problem comes when the machines are divided into several groups (in the table there is a column describing the group assigned to each machine). I will need to make a chart separately for the machines in each group. It's easy to do with just a table - I've created a group band with a condition set to the machine group column. This way I'll add text fields into a data band inside the group band and generate data for each machine group the way I want. But if I add the chart into the group header, the chart works with all of the data and not only with the grouped as one would expect.
This would work in Crystal Reports for example. In Telerik I had the same problem, but I managed to resolve it by binding the data source of the chart to the data of the object it was inside (the group header). But how to do this in Stimulsoft Reports? This is key for me because we need to generate multiple charts based on data grouping in our reports.
Thank you in advance for any insight into this.
EDIT: The bug is described in the post below.