Help to pick constant color to a value in a Pie Chart?

G

Gary

I have a Pie Chart with 2 items only (R or P). R is a dark color and P is a
light color. When There isn't any P in my data, the chart picks the light
color for R.

I would like to always have a dark color for R and a light color or P.

I am doing the chart in MS Access 2000-03 and my row source is:

SELECT [RP],Sum([Freq]) AS [SumOfFreq] FROM [Rept#704_Joint_RP] GROUP BY
[RP];

Can someone please help me.


Thanks,

Gary
 
L

Luke M

I'm afriad this is the MS Excel Chart forum. You might get more help by
posting in the Access Reports forum.
 
G

Gary

Are you familary with MS Access charts or graphs?? It is almost almost the
same as excel charts. Actually, Access charts is a subset of Excel charts.

Still hope someone could provide information.


Thank You,



Luke M said:
I'm afriad this is the MS Excel Chart forum. You might get more help by
posting in the Access Reports forum.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


Gary said:
I have a Pie Chart with 2 items only (R or P). R is a dark color and P is a
light color. When There isn't any P in my data, the chart picks the light
color for R.

I would like to always have a dark color for R and a light color or P.

I am doing the chart in MS Access 2000-03 and my row source is:

SELECT [RP],Sum([Freq]) AS [SumOfFreq] FROM [Rept#704_Joint_RP] GROUP BY
[RP];

Can someone please help me.


Thanks,

Gary
 
D

David Biddulph

In Excel if you have a series for P and a series for R, if there is no data
in the P series it doesn't change the colour for the R series, so if Access
is the same as Excel you don't have a problem.
--
David Biddulph

Gary said:
Are you familary with MS Access charts or graphs?? It is almost almost
the
same as excel charts. Actually, Access charts is a subset of Excel
charts.

Still hope someone could provide information.


Thank You,



Luke M said:
I'm afriad this is the MS Excel Chart forum. You might get more help by
posting in the Access Reports forum.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


Gary said:
I have a Pie Chart with 2 items only (R or P). R is a dark color and
P is a
light color. When There isn't any P in my data, the chart picks the
light
color for R.

I would like to always have a dark color for R and a light color or P.

I am doing the chart in MS Access 2000-03 and my row source is:

SELECT [RP],Sum([Freq]) AS [SumOfFreq] FROM [Rept#704_Joint_RP] GROUP
BY
[RP];

Can someone please help me.


Thanks,

Gary
 
D

David Biddulph

Originally I was looking at a multi-series chart of other types, but the
same applies for points in a series on a pie chart. If you remove the data
for the first point, it doesn't change the colour for the second point.
--
David Biddulph

David Biddulph said:
In Excel if you have a series for P and a series for R, if there is no
data in the P series it doesn't change the colour for the R series, so if
Access is the same as Excel you don't have a problem.
--
David Biddulph

Gary said:
Are you familary with MS Access charts or graphs?? It is almost almost
the
same as excel charts. Actually, Access charts is a subset of Excel
charts.

Still hope someone could provide information.


Thank You,



Luke M said:
I'm afriad this is the MS Excel Chart forum. You might get more help by
posting in the Access Reports forum.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


:

I have a Pie Chart with 2 items only (R or P). R is a dark color and
P is a
light color. When There isn't any P in my data, the chart picks the
light
color for R.

I would like to always have a dark color for R and a light color or P.

I am doing the chart in MS Access 2000-03 and my row source is:

SELECT [RP],Sum([Freq]) AS [SumOfFreq] FROM [Rept#704_Joint_RP]
GROUP BY
[RP];

Can someone please help me.


Thanks,

Gary
 
J

Jon Peltier

David -

This is true if the data is missing but the category is present. If you
run a query, though, the category doesn't come through if there is no data.

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/



David said:
Originally I was looking at a multi-series chart of other types, but the
same applies for points in a series on a pie chart. If you remove the data
for the first point, it doesn't change the colour for the second point.
--
David Biddulph

David Biddulph said:
In Excel if you have a series for P and a series for R, if there is no
data in the P series it doesn't change the colour for the R series, so if
Access is the same as Excel you don't have a problem.
--
David Biddulph

Gary said:
Are you familary with MS Access charts or graphs?? It is almost almost
the
same as excel charts. Actually, Access charts is a subset of Excel
charts.

Still hope someone could provide information.


Thank You,



:

I'm afriad this is the MS Excel Chart forum. You might get more help by
posting in the Access Reports forum.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


:

I have a Pie Chart with 2 items only (R or P). R is a dark color and
P is a
light color. When There isn't any P in my data, the chart picks the
light
color for R.

I would like to always have a dark color for R and a light color or P.

I am doing the chart in MS Access 2000-03 and my row source is:

SELECT [RP],Sum([Freq]) AS [SumOfFreq] FROM [Rept#704_Joint_RP]
GROUP BY
[RP];

Can someone please help me.


Thanks,

Gary
 
J

Jon Peltier

Gary -

One important difference is that Excel charts are built in Excel
workbooks, where you have the ability to manipulate the data with
worksheet formulas and plot the manipulated data.

I've never thrown VBA at an Access chart. If you're willing to
experiment, you could try to adapt one of the Excel techniques I've
posted in my blog. This one in particular:

VBA Conditional Formatting of Charts by Category Label
http://peltiertech.com/WordPress/vba-conditional-formatting-of-charts-by-category-label/

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


Are you familary with MS Access charts or graphs?? It is almost almost the
same as excel charts. Actually, Access charts is a subset of Excel charts.

Still hope someone could provide information.


Thank You,



Luke M said:
I'm afriad this is the MS Excel Chart forum. You might get more help by
posting in the Access Reports forum.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


Gary said:
I have a Pie Chart with 2 items only (R or P). R is a dark color and P is a
light color. When There isn't any P in my data, the chart picks the light
color for R.

I would like to always have a dark color for R and a light color or P.

I am doing the chart in MS Access 2000-03 and my row source is:

SELECT [RP],Sum([Freq]) AS [SumOfFreq] FROM [Rept#704_Joint_RP] GROUP BY
[RP];

Can someone please help me.


Thanks,

Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top