Touch Charts 1.0.1 Sencha Docs

Ext.chart.Legend.View

Hierarchy

Ext.DataView
Ext.chart.Legend.View

Files

A DataView specialized for displaying the legend items for a chart. This class is only used internally by Ext.chart.Legend and should not need to be instantiated directly.

Defined By

Properties

Ext.chart.Legend.View
view source
: Stringprivate
...

Defaults to: Ext.baseCSSPrefix + 'legend'

Ext.chart.Legend.View
view source
: Booleanprivate
...

Defaults to: true

Ext.chart.Legend.View
view source
: Booleanprivate
...

Defaults to: false

Ext.chart.Legend.View
view source
: Stringprivate
...

Defaults to: Ext.baseCSSPrefix + 'legend-horizontal'

Ext.chart.Legend.View
view source
: Stringprivate
...

Defaults to: Ext.baseCSSPrefix + 'legend-inactive'

Ext.chart.Legend.View
view source
: Stringprivate
...

Defaults to: '.' + Ext.baseCSSPrefix + 'legend-item'

Ext.chart.Legend.View
view source
: Arrayprivate
...

Defaults to: ['<ul class="' + Ext.baseCSSPrefix + 'legend-items">', '<tpl for=".">', '<li class="' + Ext.baseCSSPrefix + 'legend-item <tpl if="disabled">' + Ext.baseCSSPrefix + 'legend-inactive' + '</tpl>">', '<span class="' + Ext.baseCSSPrefix + 'legend-item-marker" style="background-color:{markerColor};"></span>{label}', '</li>', '</tpl>', '</ul>']

Ext.chart.Legend.View
view source
: Stringprivate
...

Defaults to: 'tap'

Defined By

Methods

Ext.chart.Legend.View
view source
( )private
...
Ext.chart.Legend.View
view source
( )private
Create the internal data store for the view ...

Create the internal data store for the view

Ext.chart.Legend.View
view source
( item, i )private
Handle double-taps on legend items; splits items that are a result of item combination ...

Handle double-taps on legend items; splits items that are a result of item combination

Parameters

  • item : Object
  • i : Object
Ext.chart.Legend.View
view source
( item, i )private
Handle single taps on legend items; toggles the corresponding series items on and off. ...

Handle single taps on legend items; toggles the corresponding series items on and off.

Parameters

  • item : Object
  • i : Object
Ext.chart.Legend.View
view source
( )private
Create and return the JSON data for the legend's internal data store ...

Create and return the JSON data for the legend's internal data store

Ext.chart.Legend.View
view source
( )private
...
Ext.chart.Legend.View
view source
( )private
...
Ext.chart.Legend.View
view source
( draggable, e )private
...

Parameters

  • draggable : Object
  • e : Object
Ext.chart.Legend.View
view source
( droppable, draggable )private
Handles dropping one legend item on another. ...

Handles dropping one legend item on another.

Parameters

  • droppable : Object
  • draggable : Object
Ext.chart.Legend.View
view source
( item, i, e )private
...

Parameters

  • item : Object
  • i : Object
  • e : Object
Ext.chart.Legend.View
view source
( e, target )private
Fired when a legend item is tap-held. ...

Fired when a legend item is tap-held. Initializes a draggable for the held item.

Parameters

  • e : Object
  • target : Object
Ext.chart.Legend.View
view source
( )
Update the legend component to match its current vertical/horizontal orientation ...

Update the legend component to match its current vertical/horizontal orientation

Ext.chart.Legend.View
view source
( )private
...
Ext.chart.Legend.View
view source
( )
Reset the legend view back to its initial state before any user interactions. ...

Reset the legend view back to its initial state before any user interactions.

Ext.chart.Legend.View
view source
( )private
Updates the droppable objects for each list item. ...

Updates the droppable objects for each list item. Should be called whenever the list view is re-rendered.

Ext.chart.Legend.View
view source
( )
Updates the internal store to match the current legend info supplied by all the series. ...

Updates the internal store to match the current legend info supplied by all the series.