pkdevbox / axiis

Automatically exported from code.google.com/p/axiis
0 stars 0 forks source link

HClusterColumnExample bug #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I have a chart similar to the HClusterColumnExample.
I also have a combobox list that allow me to change the dataProvider.
On change of this combobox, i set the new dataProvider and others news
value ( like : vScale.maxValue, and so on) and the call the
dc.invalidateDisplayList().
A lot of display issues appeare (old column remain in the chart and are
superposed to new column and stuff like this).

What is the expected output? What do you see instead?
A new clean chart should appear and not a unlisible one.

What version of the product are you using? On what operating system?
The axiis and degrafa libraries are from the axiis example retrieved from
the axiis website.
Flex sdk 3.1
Mac OS 10.6.2
Flash Player 10,0,42,34 installed.

Please provide any additional information below.
Sorry my bad english.

Original issue reported on code.google.com by ricca.ni...@gmail.com on 3 Feb 2010 at 4:19

Attachments:

GoogleCodeExporter commented 9 years ago
I simply try someting :

I had a button that call a function.
This function execute the following code.

hLayout.dataProvider = null;
hLayout.invalidateDataProvider();
dc.invalidateDisplayList();

I expect that the chart will be empty... but is not the case..the chart remains 
juste
like the rendering is maintened in cache.

Maybe i'm missundersting something.
I expect that the invalidateDisplayList force the dataCanvas to be redraw.

Anyone has an answer please ?

Original comment by ricca.ni...@gmail.com on 4 Feb 2010 at 2:29

GoogleCodeExporter commented 9 years ago
Sorry guys...i finally downloaded the last release (the beta 1.0) and everything
works like expected.

I was not enthousiaste as add a beta bin in my project but in my case it solve 
the
issues.

I hope this will help someone else.

Thanks anyways

Original comment by ricca.ni...@gmail.com on 4 Feb 2010 at 2:43