P
Peter Row
Hi,
I'm using an MS Graph 97 Chart control on a report, 3 in fact.
One for a bar chart and 2 for pie charts.
In each case I use the row source property to set the data for each chart.
The date is a list of regions along with a count of two pieces of data for
each region.
My data will look (field names changed) something like this:
Region Data 1 Data 2
NW 10 53
SE 12 6
So for the bar chart I show on the X axis the region and for each region
there are
two bars one for data 1 and one for data 2.
On the pie charts I show region/data1 and region/data2 respectively.
When I open the control on the report and enter some example data and
configure
it to have the labels etc... they way I want it looks fine in design view.
However when I run the report it looks totally wrong.
For example the bar chart only shows one region (when in the data returned
by the query
there are 2) and the legends are not what I entered.
In the pie charts it just shows one region with 100% of the data. Again
wrong since there
are two regions in the data returned by the query.
Anybody have any ideas as to how to debug this or have any clue as to what
is wrong?
Regards,
Peter
I'm using an MS Graph 97 Chart control on a report, 3 in fact.
One for a bar chart and 2 for pie charts.
In each case I use the row source property to set the data for each chart.
The date is a list of regions along with a count of two pieces of data for
each region.
My data will look (field names changed) something like this:
Region Data 1 Data 2
NW 10 53
SE 12 6
So for the bar chart I show on the X axis the region and for each region
there are
two bars one for data 1 and one for data 2.
On the pie charts I show region/data1 and region/data2 respectively.
When I open the control on the report and enter some example data and
configure
it to have the labels etc... they way I want it looks fine in design view.
However when I run the report it looks totally wrong.
For example the bar chart only shows one region (when in the data returned
by the query
there are 2) and the legends are not what I entered.
In the pie charts it just shows one region with 100% of the data. Again
wrong since there
are two regions in the data returned by the query.
Anybody have any ideas as to how to debug this or have any clue as to what
is wrong?
Regards,
Peter