Focal Point
Pie charts

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1621056292

July 23, 2008, 06:14 AM
<Arun>
Pie charts
Hi All,
can anyone provide a link where i can get good insight on Pie charts..

i searched , but i dint get any place where the docs are good.

Thanks
July 23, 2008, 06:24 AM
nubi
there were quite a few results in the search engine for 'Pie Chart'

I think there should be something in there which covers whatever it is you wnat to know....


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
July 23, 2008, 06:33 AM
FrankDutch
the documentation gives you also lot of possibilities.
what special thing do you want to know




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

July 23, 2008, 08:16 AM
<Arun>
I need to create a report (pie chart+table)

Following are the columns in the table:
asset type
market value

i should produce pie chart , showing % market value of each asset type
and below the pie chart , i should have table like:

asset type market value($) %
X cash $500 50%
X fixed income $250 25%
X others $250 25%

in the place where X comes, we should show the colour for each asset type, as present in the pie chart.

My problem is :
The legend colour for a 'asset type' present in the pie chart should match the colour present in the table for that particular 'asset type'.

Pls let me know how can i achieve this?
July 23, 2008, 09:22 AM
mgrackin
Arun,

The graphing documentation is free on IBs web site.

The command to control the color in graphs for a series is the setFillColor command. Read about it in the manual and it will give you a lot of good information.

For Example:

setFillColor(getSeries(0),new Color(255,0,255));


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
July 23, 2008, 09:38 AM
<Arun>
Mickey,
The actual problem is :
The legend colour for a 'asset type' present in the pie chart should match the colour present in the table for that particular 'asset type'.

i am not able to achieve this.
July 23, 2008, 09:51 AM
mgrackin
Arun,

Use the setFillColor to force the colors in the Pie Chart and Legend to match the colors you are using in the Table.

This should get you what you are trying to achieve or at least get you going in the right direction.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
July 23, 2008, 10:50 AM
FrankDutch
Arun

Is it just a coincidence that someone else from India asked more or less the same question...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

July 23, 2008, 10:58 AM
nubi
quote:
Originally posted by FrankDutch:
Arun

Is it just a coincidence that someone else from India asked more or less the same question...


i don't think the forum is big enough to get away with having multiple ID's (if that's what you are getting at Big Grin) either way it shows how useful doing a proper search can be....


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor