File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
How to change color in cewolf charts
anvi kon
Ranch Hand
Joined: Jan 08, 2010
Posts: 133
posted
Jan 28, 2010 22:16:33
0
Hi experts
I use cewolf to draw a chart in my jsp file.
I want to control set the color of the chart (of every series)
I use this code at the jsp file :
<cewolf:chart id="pieTestSummary" type="pie" title="Test Status" showlegend="true"> <cewolf:data> <cewolf:producer id="pieChartView" /> </cewolf:data> <cewolf:colorpaint color="f6f6f6"/> </cewolf:chart> <cewolf:img chartid="pieTestSummary" renderer="cewolf" border="0" width="400" height="350"/>
and to add to the dataset data I use this code :
ds.setValue("Success",30); ds.setValue("Fail",10);
how can I change the colors ?
success draws in blue color
and fail draws in red color
I want the success will draw in green color.
how can I change the color ?
thanks
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
13
I like...
posted
Jan 28, 2010 22:24:11
0
Please do not post the same question more than once.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: How to change color in cewolf charts
Similar Threads
cewolf charts color
Problem with displaying an histogramm with Cewolf
cewolf data points not visible
Cewolf and database?
Cewolf charts colors and Postprocessors
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter