0

Simple flashcart question

asked 2010-01-11 11:00:19 +0800

sendmarsh gravatar image sendmarsh
12

I've been learning to use flashcharts in ZK 5.00.RC2. I can create a chart using something like:

<flashchart id="chart" type="bar" width="450px" height="450px"/>

My problem is where do I find out how to customize it? For example I found I could add "height" but could not add "title" through trial and error. Is there a document that describes all the options I can specify in the flashchart tag? And/or is there a document which lists how I can further customize it in CategoryModel Java methods? I only see 3.6.2 on the zkoss Javadocs page.

Thanks
Guy

delete flag offensive retag edit

7 Replies

Sort by ยป oldest newest

answered 2010-01-11 11:13:26 +0800

sendmarsh gravatar image sendmarsh
12

I partially answered my question by finding the flashchart class description and the 5.0 docs: http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Flashchart.html
For some reason setting things like "Xaxis=xxx" to the flashchart tag does not seem to change the display though.

link publish delete flag offensive edit

answered 2010-01-11 19:12:11 +0800

joylo0122 gravatar image joylo0122
688 1
www.zkoss.org

@sendmarsh

Hi sendmarsh, please refer to our smalltalk:Introduction of flashchart, it's the only one document we have now.

/Joy

link publish delete flag offensive edit

answered 2010-01-12 01:13:21 +0800

sendmarsh gravatar image sendmarsh
12

@joylo0122

Thanks. Your smalltalk was my starting point and very useful and I was able to make some progress. I guess my wish for the future would be a document for dummies which covers all the tag options in one place.

Regards
Guy

link publish delete flag offensive edit

answered 2010-01-12 01:19:58 +0800

PeterKuo gravatar image PeterKuo
481 2

@sendmarsh
I want that document also.
I think the developer reference should have a complete usage list for each component.
That's one of the reason we move our document system to wiki.

Do you have some opinion about what section should usage list have for each component?
We should host a meeting first, and decide the section. To make it more consistent for every component.

link publish delete flag offensive edit

answered 2010-01-13 00:06:17 +0800

sendmarsh gravatar image sendmarsh
12

@PeterKuo

This sounds like a great idea.

>Do you have some opinion about what section should usage list have for each component?
If I understood the question correctly I'd like to see something like:
Tag: FlashChart
Options:
id <string> e.g. id="myChart"
type [Pie|Bar|xxxx]
width [number of px|xxxxx] e.g. width="450px", Optional, DEFAULT 200px
height [number of px|xxxxx] e.g. height="450px", Optional, DEFAULT 200px
etc..

link publish delete flag offensive edit

answered 2010-02-04 09:20:30 +0800

tredmond gravatar image tredmond
21 1

Does anybody know when proper documentation for <flashchart> will be available? It's not a lot of use without it seeing as most of the customization is string based...

link publish delete flag offensive edit

answered 2010-02-04 19:14:48 +0800

samchuang gravatar image samchuang
4084 4

Hi

the flash chart component integrates astra flash charting components, so you could refer to here, for more style setting example

basically, the style should work.

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: 2010-01-11 11:00:19 +0800

Seen: 433 times

Last updated: Feb 04 '10

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