Opened 9 years ago

Closed 9 years ago

#11520 closed enhancement (fixed)

[patch][ccla]Chart 2D: Selectable legend

Reported by: ruanqi Owned by: Eugene Lazutkin
Priority: high Milestone: 1.6
Component: Charting Version: 1.5
Keywords: chart legend selectable filter Cc: Adam Peller, deanw@…, rqruanqi@…
Blocked By: Blocking:

Description

a new legend for all dojo charts that allows the end-user to click and select/deselect which of the chart series should be displayed on the chart.

var barsLegend = new dojox.charting.widget.Legend({chart: bars,selectable:true},"barsLegend");

demo link:http://dleadt.torolab.ibm.com/dl/dojodemos/rock/dojo/dojox/charting/tests/test_selectableLegend.html

Attachments (1)

dojox-selectable-legend.patch (17.3 KB) - added by Adam Peller 9 years ago.
updated patch from Qi Ruan (IBM, CCLA)

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by Eugene Lazutkin

Milestone: tbdfuture
Status: newassigned

The link you gave is internal --- I cannot follow it.

comment:2 Changed 9 years ago by Adam Peller

comments from Qi Ruan for latest update:

implement 'dojox.charting.widget.SeletableLegend?' inherited from existed Legend

1.Highlight data series when user hover corresponding legend; 2.Data series vanished by click on corresponding legend; 3.Data series displayed by click that legend again; 4.transition animated when data highlight/vanish/display; 5.hide fill of legend when corresponding data vanished; 6.provide theme component for user to customize transition fill/stroke

comment:3 Changed 9 years ago by Adam Peller

trying again...

implement 'dojox.charting.widget.SelectableLegend' inherited from existed Legend

  1. Highlight data series when user hover corresponding legend;
  2. Data series vanished by click on corresponding legend;
  3. Data series displayed by click that legend again;
  4. transition animated when data highlight/vanish/display;
  5. hide fill of legend when corresponding data vanished;
  6. provide theme component for user to customize transition fill/stroke

comment:4 Changed 9 years ago by Adam Peller

Cc: Adam Peller added; apeller@… removed

Changed 9 years ago by Adam Peller

updated patch from Qi Ruan (IBM, CCLA)

comment:5 Changed 9 years ago by Eugene Lazutkin

Milestone: future1.6

comment:6 Changed 9 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [23507]) Charting: selectable legend, thx Qi Ruan (CCLA, IBM)!, !strict, fixes #11520.

Note: See TracTickets for help on using tickets.