PDA

View Full Version : Values over each bar



borisperezg
1 Sep 2010, 6:33 AM
Hi again...

I'm here now with other question, Actually, a chart shows value only when I passed the mouse over each bar, so, how can I show values over each bar in a FilledBarChart chart ?

Thanks for help.

Bye.

crehbein
1 Sep 2010, 8:27 AM
I tried every which way to get this to work, but I don't think it can without some additional code. The ChartModel serialized to OFC via GXT doesn't generate the needed JSON object.

The OFC chart expects the tags to be passed in as an element (ie, treated the same way as a GXT LineChart or PieChart object). So implementing this would be similar to implementing a bar chart overlaid by a line chart - you have to add the bar chart, then create and overlay a "tags" chart (to use OFC lingo). Look at their example at http://teethgrinder.co.uk/open-flash-chart-2/tags-example.php and view the JSON generated for it for some hints as to the syntax.

- C

santhosh.vysyaraju@gmail.
18 Jan 2012, 3:01 AM
Values over each bar


Hi

Actually, a chart shows value only when I passed the mouse over each bar, so, how can I show values over each bar in a FilledBarChart chart ?

As above example is given in PHP , but can anyone give an example on java..?

Is there any property in openflashchart to have the value on bar ?

Thanks for help.

Bye.