Opened 13 years ago

Closed 9 years ago

#2122 closed enhancement (fixed)

[charting] events to plotter or series

Reported by: Tom Trenka Owned by: Eugene Lazutkin
Priority: high Milestone: 1.5
Component: Charting Version: 0.4
Keywords: charting Cc: chrism1@…, bill@…, peller@…, ccmitchellusa@…, ttrenka@…
Blocked By: Blocking:

Description (last modified by dylan)

From #1637:

Events -- even though it would be possible to attach event attributes to the raw SVG/VML nodes, it would be much less tedious and error-prone if this could be done at a much higher level, perhaps at the Series or Plotter level.

Change History (21)

comment:1 Changed 13 years ago by Tom Trenka

Summary: [charting]: events to plotter or series[charting] events to plotter or series

comment:2 Changed 13 years ago by Tom Trenka

Type: defectenhancement

comment:3 Changed 12 years ago by dylan

Milestone: 0.9

comment:4 Changed 12 years ago by Tom Trenka

Component: gfx (svg+vml)Charting

comment:5 Changed 12 years ago by Tom Trenka

I'm going to set it up so that there's a stub function, at the Chart level, that will be fired on several different events. It should pass you the original event object, the marker node in question (if appropriate), and the actual data point the marker represents. You'd basically connect to the stub. For example:

dojo.connect(myChart, 'onmarkerclick', myFn); dojo.connect(myChart, 'onmarkermouseover', myFn);

etc.

Any thoughts, objections?

comment:6 Changed 12 years ago by Tom Trenka

Component: ChartingDojox

comment:7 Changed 12 years ago by guest

Looks good!

comment:8 Changed 12 years ago by Tom Trenka

Milestone: 0.91.0

comment:9 Changed 12 years ago by Tom Trenka

Milestone: 1.01.1
Owner: changed from Tom Trenka to Eugene Lazutkin

Reassigning to Eugene and removing the milestone.

comment:10 Changed 12 years ago by Eugene Lazutkin

Component: DojoxCharting

comment:11 Changed 12 years ago by Eugene Lazutkin

Status: newassigned

comment:12 Changed 12 years ago by haysmark

Milestone: 1.11.0.1
Priority: normalhigh
severity: normalmajor

IBM needs this interactivity in Dojo charts in 1.0.1. This API would enable us to, for example, make tooltips to display the series name (currently there is no identifier), or make XHR requests based on clicks to markers.

comment:13 Changed 12 years ago by Eugene Lazutkin

Priority: highnormal
severity: majornormal

comment:14 Changed 12 years ago by Adam Peller

how significant is this code change and what time frame might it be available? 1.0.1 is a bug fix release and might not be the most appropriate way to do this, especially depending on how we decide to structure dojox releases.

comment:15 Changed 12 years ago by Eugene Lazutkin

It is not difficult to add because the infrastructure is there. I just need some quality time with it, and I suspect the most time will be spent on testing.

Just out of curiosity: when is Dojo 1.0.1 going to be released?

comment:16 Changed 12 years ago by Adam Peller

Milestone: 1.0.11.0.2

comment:17 Changed 12 years ago by Adam Peller

Milestone: 1.0.21.0.3

comment:18 Changed 11 years ago by dylan

Milestone: 1.0.31.2

comment:19 Changed 11 years ago by dylan

Description: modified (diff)

I believe this is finished. Eugene, please confirm.

comment:20 Changed 11 years ago by Eugene Lazutkin

Milestone: 1.2future

Moving all open ticketd to the future.

comment:21 Changed 9 years ago by Eugene Lazutkin

Milestone: future1.5
Resolution: fixed
Status: assignedclosed

It looks like it was fixed during the Theme restructuring.

Note: See TracTickets for help on using tickets.