Ticket #2122 (assigned enhancement)

Opened 2 years ago

Last modified 3 months ago

[charting] events to plotter or series

Reported by: ttrenka Owned by: elazutkin
Priority: normal Milestone: future
Component: Charting Version: 0.4
Severity: normal Keywords: charting
Cc: chrism1@…, bill@…, peller@…, ccmitchellusa@…, ttrenka@…

Description (last modified by dylan) (diff)

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

Changed 2 years ago by ttrenka

  • summary changed from [charting]: events to plotter or series to [charting] events to plotter or series

Changed 2 years ago by ttrenka

  • type changed from defect to enhancement

Changed 22 months ago by dylan

  • milestone set to 0.9

Changed 22 months ago by ttrenka

  • component changed from gfx (svg+vml) to Charting

Changed 18 months ago by ttrenka

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?

Changed 18 months ago by ttrenka

  • component changed from Charting to Dojox

Changed 18 months ago by guest

Looks good!

Changed 16 months ago by ttrenka

  • milestone changed from 0.9 to 1.0

Changed 13 months ago by ttrenka

  • owner changed from ttrenka to elazutkin
  • milestone changed from 1.0 to 1.1

Reassigning to Eugene and removing the milestone.

Changed 13 months ago by elazutkin

  • component changed from Dojox to Charting

Changed 13 months ago by elazutkin

  • status changed from new to assigned

Changed 13 months ago by haysmark

  • priority changed from normal to high
  • severity changed from normal to major
  • milestone changed from 1.1 to 1.0.1

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.

Changed 13 months ago by elazutkin

  • priority changed from high to normal
  • severity changed from major to normal

Changed 13 months ago by 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.

Changed 13 months ago by elazutkin

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?

Changed 12 months ago by peller

  • milestone changed from 1.0.1 to 1.0.2

Changed 12 months ago by peller

  • milestone changed from 1.0.2 to 1.0.3

Changed 9 months ago by dylan

  • milestone changed from 1.0.3 to 1.2

Changed 5 months ago by dylan

  • description modified (diff)

I believe this is finished. Eugene, please confirm.

Changed 3 months ago by elazutkin

  • milestone changed from 1.2 to future

Moving all open ticketd to the future.

Note: See TracTickets for help on using tickets.