#7057 closed enhancement (fixed)
Charting Action Destroy method .
Reported by: | guest | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.2.2 |
Component: | Charting | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
It is required an action destroy action. Usage Reason: If graph use for example the tooltime action:
anim6c = new dc.action2d.Tooltip(chart6, "default");
And the the graph must be recreated with new data according to a click action, the tooltip remains in screen. The lack of this method makes impossible the usage of tooltip in dynamic graphs together with click events.
It will be nice to have a chart destroy 'all' method that deletes every object related to the chart (legends, background, actions, etc). object
In order to make more clear need of this function I attached an example: Please click in the one of the columns in "Column Group 3".
- I destroy the chart + clear the legend + background in order to display a drill in graph related to the clicked column.
- You will see that the tiptool remains.
Thanks !
Eduardo
Attachments (1)
Change History (13)
Changed 13 years ago by
Attachment: | ChartDemo.html added |
---|
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Component: | Dojox → Charting |
---|---|
Owner: | changed from Adam Peller to Eugene Lazutkin |
comment:3 Changed 13 years ago by
Milestone: | → tbd |
---|
mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"
comment:5 Changed 12 years ago by
Milestone: | future → 1.2.1 |
---|---|
Status: | new → assigned |
comment:6 Changed 12 years ago by
severity: | major → normal |
---|
comment:8 Changed 12 years ago by
it would be highly unusual to include an enhancement in a dot release, unless this is both extremely low risk and critical. Same goes for the dependency.
comment:10 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The trac is broken. It doesn't show any changesets related to this ticket. Nevertheless, I close this ticket as fixed.
comment:12 Changed 12 years ago by
Milestone: | 1.2.1 → 1.2.2 |
---|
Even if the tooltip is not destroyed, it is possible to reconnect it to the new re-created graphs. So this is (a nice solution to the Problem I opened above). Eventhough it will be nice to have a destroy method in case the programmer do not want it any more.