[CLOSED] Update chart legend dynamically

  1. #1

    [CLOSED] Update chart legend dynamically

    I want to be able to change the legends in a chart depending on the selection a user makes. Presumably this means changing the Title of the series concerned. However, there doesn't appear to be the ability to give a Series an ID. So I don't know how I can access the title in either javascript or code behind? I'm sure there's a way, but how?
    Last edited by Dimitris; Apr 24, 2015 at 11:13 AM. Reason: [CLOSED]
  2. #2
    I've managed to solve this using Ext.getCmp('ForecastChart').series[0].setTitle("Test");.
    Last edited by Daniil; Apr 24, 2015 at 12:48 PM.

Similar Threads

  1. [CLOSED] Update Legend Text in Chart
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 0
    Last Post: Aug 27, 2014, 12:38 PM
  2. Replies: 2
    Last Post: Jul 23, 2014, 1:02 PM
  3. Chart Legend Name
    By sallama in forum 2.x Help
    Replies: 1
    Last Post: Mar 29, 2013, 11:30 PM
  4. chart legend
    By koma in forum 2.x Help
    Replies: 0
    Last Post: Sep 12, 2012, 3:09 AM
  5. Replies: 2
    Last Post: Aug 13, 2012, 2:12 PM

Tags for this Thread

Posting Permissions