Welcome Guest Search | Active Topics |

Export to image - dynamically adding chart title
ck31wong
#1 Posted : Tuesday, December 22, 2015 7:35:21 AM(UTC)
Rank: Newbie

Groups: MvcDV, Registered
Joined: 12/22/2015(UTC)
Posts: 7

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hi jqChart,
i've recently purchased your product, i have 2 questions for you.

1) let's say i've created an error chart w/ data & color all properly setup without title during display. When we need to export to image, can I add 'Title' parameter to the image during jqChart('exportToImage', config);?

2) can we add html code to the chart legend and can we hide the series details?

Thank you,
Keith
Ivan
#2 Posted : Tuesday, December 22, 2015 7:54:33 AM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
Hi,

1) You can set a title before exporting the chart and remove it after that. Check this example:
http://www.jqchart.com/aspnetmvc/chart/Dynamic/ChartOptions

2) The legend doesn't support html code. It supports only text and new line ('\n') symbols. What do you mean by "series details"?
Best,
Ivan Petrov
jqChart Inc.
ck31wong
#3 Posted : Tuesday, December 22, 2015 8:09:21 AM(UTC)
Rank: Newbie

Groups: MvcDV, Registered
Joined: 12/22/2015(UTC)
Posts: 7

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hi Ivan,
thank you for your prompt reply.

for my point 2, using your link (http://www.jqchart.com/aspnetmvc/chart/Dynamic/ChartOptions), when we display legend, the 'series details' = the blue dot and series name.

is there a way to just show the legend title but not the series details?

Thank you,
Keith
Ivan
#4 Posted : Tuesday, December 22, 2015 8:36:12 AM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
You can use custom legend:
http://www.jqchart.com/aspnetmvc/chart/ChartFeatures/CustomLegend
Best,
Ivan Petrov
jqChart Inc.
ck31wong
#5 Posted : Tuesday, December 22, 2015 8:38:00 AM(UTC)
Rank: Newbie

Groups: MvcDV, Registered
Joined: 12/22/2015(UTC)
Posts: 7

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Thanks again Ivan. I should have check your samples more carefully.

once again, appreciated on your prompt reply.

keith
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.117 seconds.