Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

ChartDemo.html (5.6 KB) - added by guest 11 years ago.

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by guest

Attachment: ChartDemo.html added

comment:1 Changed 11 years ago by guest

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.

Eduardo

comment:2 Changed 11 years ago by Adam Peller

Component: DojoxCharting
Owner: changed from Adam Peller to Eugene Lazutkin

comment:3 Changed 11 years ago by bill

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:4 Changed 11 years ago by Eugene Lazutkin

Milestone: tbdfuture

Moving all open ticketd to the future.

comment:5 Changed 11 years ago by Eugene Lazutkin

Milestone: future1.2.1
Status: newassigned

comment:6 Changed 11 years ago by Eugene Lazutkin

severity: majornormal

comment:7 Changed 11 years ago by Eugene Lazutkin

#7863 is the pre-requisite for this ticket.

comment:8 Changed 11 years ago by Adam Peller

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:9 Changed 11 years ago by Eugene Lazutkin

#7863 is referenced by mistake.

comment:10 Changed 11 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

The trac is broken. It doesn't show any changesets related to this ticket. Nevertheless, I close this ticket as fixed.

comment:11 Changed 11 years ago by Eugene Lazutkin

Relevant changeset: [15467].

comment:12 Changed 11 years ago by Eugene Lazutkin

Milestone: 1.2.11.2.2
Note: See TracTickets for help on using tickets.