Hi Philippe,

WTKX styles translate directly to the Java bean properties of the skin. So, in 
general, you can determine what styles a component supports by looking at the 
Javadoc for the skin class.

That said, I don't think the Javadoc for the JFreeChart charting provider has 
been published. In the meantime, you can look at the source code to see what 
properties are defined:

http://code.google.com/p/pivot-jfree/source/browse/#svn/trunk/charts/src/biz/ixnay/pivot/charts/skin/jfree%3Fstate%3Dclosed

Alternatively, you can generate the Javadoc yourself from the source. 

Hope this helps,
Greg

On Jun 29, 2010, at 4:42 PM, Giguère, Philippe wrote:

> Hi,
>  
> I need to creat a chart like this one : 
> http://www.java2s.com/Code/Java/Chart/JFreeChartDifferenceChartDemo2.htm
>  
> In a first time, I use the function in org.apache.pivot.charts to do my 
> chart. It's works well but I can't set the properties I want like the line 
> color, font, color between the lines ... I don't know if I can set such 
> properties like "{threeDimensional:true}" by using setStyle() in my code or 
> directly in the wtkx. I searched for a list of proprieties that we can set 
> with setStyle() but I found nothing.
>  
> In a second time, I creat the same chart with JFreeChart library with the 
> properties wanted. But now I need to import this chart in a Pivot container. 
> I tried to get the components from the chart and add them in a container but 
> I found on the web that  we can't convert a java.awt.Component to a 
> org.apache.pivot.wtk.Component 
> (http://www.mail-archive.com/[email protected]/msg00800.html).
>  
> So I was wondering if there a way to import a JFreeChart chart in a Pivot 
> container or if a list of properties that setStyle() can set ? If not, what 
> can i do to resolve my problem ?
>  
> Thx a lot
>  
> Philippe Giguère
> Avis de confidentialité: Ce courriel et les pièces qui y sont jointes peuvent 
> contenir des renseignements confidentiels qui ne vous sont pas destinés. Si 
> vous avez reçu cette correspondance par erreur, veuillez la détruire et nous 
> en aviser. Merci!
> 
> Devez-vous vraiment imprimer ce courriel ? Pensons à l'environnement ...

Reply via email to