0

ZK Charts and Plugins

asked 2015-08-04 09:51:47 +0800

IngoB gravatar image IngoB flag of Germany
256 6

updated 2015-08-05 07:55:44 +0800

Hi,

I'm using ZK Charts 2.0.0.1 c& ZK 8.0.0-RC and I'm wondering if it is possible to use "normal" highcharts js plugins.

I would like to use an export to csv plugin.

My chart is created on a panel in java code, so I tried to create a "script" object, add it to the panel and set the source to the plugin filename, but it is not working.

Any idea if chart plugins supported at all?

delete flag offensive retag edit

Comments

One idea is that you already have the raw data to draw the chart, I think you can also use the raw data to export CSV directly, then no extra plugin is needed.

vincentjian ( 2015-08-06 01:41:04 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-05 09:46:24 +0800

Darksu gravatar image Darksu
1991 1 4

Hello IngoB,

Have you checked out the following small talk?

http://books.zkoss.org/wiki/SmallTalks/2012/November/ZHighCharts:IntegratingZKwith_Highcharts

Also as you know zk can integrate very easily with 3rd party libraries.

So you could integrate highcharts and use the following functionality in order to export it to csv:

http://www.highcharts.com/plugin-registry/single/7/Export-CSV-XLS

Also please refer to the following:

http://books.zkoss.org/wiki/SmallTalks/2012/November/Integrate3rdPartyJavascriptLibrariesIn_ZK

http://books.zkoss.org/wiki/SmallTalks/2014/October/IntegrateZKwithdhtmlxGantt

If you still have issues please upload your code so we can check it out.

Best Regards,

Darksu

link publish delete flag offensive edit

Comments

Thank you. I'll try it.

IngoB ( 2015-08-06 06:47:37 +0800 )edit
Your answer
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
1 follower

RSS

Stats

Asked: 2015-08-04 09:51:47 +0800

Seen: 22 times

Last updated: Aug 05 '15

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