Hi,
I'm new to PrimeFaces and wondered if there is a reference for styling a pie chart component. The guide provides only one example:
var piechartStyle = {
padding : 20,
legend : {
display : "right",
spacing : 10
}
};
So, where can I find more information on what to specify here?
Thanks for any help,
Steffen
PieChart styling
-
- Posts: 12
- Joined: 03 Nov 2011, 10:02
For instance, I want to change the height of the (flash-)component. Changing height of container via CSS doesn't have an effect.
PrimeFaces 3.0M4, MyFaces 2.1, Tomcat7
-
- Posts: 12
- Joined: 03 Nov 2011, 10:02
Ok, I overlook the "width" and "height" attribute which work fine. But I'm still interested in a reference for the styling possibilities, e.g. how to change the color of the pie pieces? Same would be nice for the line chart which I'm using also.
Best regards,
Steffen
Best regards,
Steffen
PrimeFaces 3.0M4, MyFaces 2.1, Tomcat7
Try with using seriesColors like;
http://www.primefaces.org/showcase-labs ... eChart.jsf
Then, updated documentation for 3.0labs will be available soon.
http://www.primefaces.org/showcase-labs ... eChart.jsf
Then, updated documentation for 3.0labs will be available soon.
PrimeFaces Team Member
-
- Posts: 12
- Joined: 03 Nov 2011, 10:02
Ok, I'm migrating to 3.0M4. Thanks.
PrimeFaces 3.0M4, MyFaces 2.1, Tomcat7
-
- Posts: 221
- Joined: 04 Aug 2011, 22:00
I'm not able to change it as well
PrimeFaces 3.5 + JSF 2.1.4 + Tomcat 7.X
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests