hi ,
I'm using prime column chart in our application, i have 2 question.
1. Is there any attribute to show the label of x-axis and y axis.
2. In the Show case (Column chart) you have specified, Boys and girls in the rectangular box on the right side of the chart (with the chart color). how can i add this ?
Thanks
X-axis and Y-axis Label for Column charts
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Based on the example at http://97.107.138.40:8080/prime-showcas ... nChart.jsf.
ChartStyle used in that example is;
So basically you need to style your chart, reference documentation has more information regarding Chart Skinning.
By label you mean, like displaying text "year" for x-axis?
ChartStyle used in that example is;
Code: Select all
<script type="text/javascript">
var chartStyle = {
padding: 20,
legend: {display:"right",spacing:10}
};
</script>
By label you mean, like displaying text "year" for x-axis?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Axis title is not supported at the moment but due to the high request, we'll add this support very soon. I'll update this post tomorrow after adding the feature and creating a snapshot build of 0.9.2. Stay tuned!
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Done, with two new attribute titleX and titleY, label for an axis can be customized. You need a snapshot build for this which is available at;
http://repository.prime.com.tr/org/prim ... -SNAPSHOT/
Due to a bug in yui chart engine, stackedColumn and stackedBar charts are not support these options.
http://repository.prime.com.tr/org/prim ... -SNAPSHOT/
Due to a bug in yui chart engine, stackedColumn and stackedBar charts are not support these options.
-
- Posts: 4
- Joined: 30 Oct 2009, 22:16
How can i show TitleY and TitleX on my columnChart?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Please read the reference documentation.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests