Charts: How can I change the size and other misc questions...

5 views
Skip to first unread message

Zombie2

unread,
Dec 4, 2009, 12:08:04 AM12/4/09
to AribaWeb (aribaweb.org)
1. How do i tell it not to show NaN (because the input data) (Nan =
Not a number)
2. Change the size of the graphs?
3. Show percentages (example price/proft) is price and profit are
already in the data table

Any help is appreciated.
Thanks.

Kingsley

unread,
Dec 8, 2009, 4:15:50 PM12/8/09
to AribaWeb (aribaweb.org)
Hi Zombie2,

1) I found this thread that might solved the issue:
http://www.fusioncharts.com/forum/Topic1390-44-1.aspx
The mentioned fusion chart attributes can be passed in via the
Chart widget like this:

<w:Chart ... yAxisMinValue="0" yAxisMaxValue="10">
...
</w:Chart>

2) There is a height and width binding you can pass down to the Chart
widget. They takes in int's in units of pixels.
3) I am assuming you are following the ChartPivot example in the Demo
app.
So if you are using PivotTable and ChartPivotData, you will need
to add the derived column attribute:

columnAttributes="$(Price, Profit, PriceOverProfit)"

If you are using passing in a csv file with the csvPath binding,
you would have to manual create that column and values.
Otherwise, you can set a list of objects with
displayGroup.setObjectArray in your component's init method, and have
the items implement getPriceOverProfit.

Thanks,
Kingsley
Reply all
Reply to author
Forward
0 new messages