0

how to change Fusionchart title font size

asked 2012-06-22 09:32:01 +0800

cklonger gravatar image cklonger
15 1

My application use zk 5 's Fusionchart

I can use seTtitle() method to show the title which i want.

But the font size of the title is too small for my application's user.

Can the Fusionchart's title's style be modify?

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2012-08-27 09:05:18 +0800

benbai gravatar image benbai
2228 6
http://www.zkoss.org

Hi cklonger,

ZK Fusionchart is based on FusionCharts Free, according to the related thread Increase Title Font Size - Free Fusion Chart on FusionCharts' forum, custom font properties for each chart element is not supported.

Regards,
Ben

link publish delete flag offensive edit

answered 2014-03-08 16:08:42 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2615 3 8
http://emrpms.blogspot.in...

Hello Benbai

I just came to know that, we can export the chart as pdf/png as per this document

So i added the following in ZK, but the right click menu does not show the export option

    chartConfig = new PieChartConfig();
    chartProperties = chartConfig.getChartProperties();
    chartProperties.addProperty("showShadow", "0");
    chartProperties.addProperty("pieYScale", "80");
    chartProperties.addProperty("pieSliceDepth", "30");
    chartProperties.addProperty("enableSmartLabels", "1");
    chartProperties.addProperty("exportEnabled", "1");
    chartProperties.addProperty("exportAtClient", "1");
    chartProperties.addProperty("exportHandler", "index.php");
link publish delete flag offensive edit

answered 2014-03-11 05:25:56 +0800

benbai gravatar image benbai
2228 6
http://www.zkoss.org

Probably ZK does not use the latest version of fusionchart, you can post a feature request: http://tracker.zkoss.org/secure/IssueNavigator.jspa?mode=hide&requestId=10002

link publish delete flag offensive edit

answered 2014-03-11 15:42:21 +0800

IngoB gravatar image IngoB flag of Germany
256 6

I know how to alter "ONE"! attribute (its only accepting one)

<flashchart type="line" chartStyle="xAxis-showLabels=false" />

So just use "chart.setChartStyle" to alter your flashchart.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-06-22 09:32:01 +0800

Seen: 168 times

Last updated: Mar 11 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More