1. #1
    Sencha Premium Member
    Join Date
    Jul 2011
    Posts
    29
    Vote Rating
    0
    Answers
    2
    IlanCopelyn is on a distinguished road

      0  

    Default Answered: Line chart with variable number of series

    Answered: Line chart with variable number of series


    Hi there,
    Can someone point me in the right direction. I'm looking to create a line chart with a variable number of lines. The data:
    - Each customer has a variable number of vending machines on premises
    - I have 'Total units sold per month', for each vending machine

    The chart:
    - xvalues = month
    - yvalues = units sold
    - I want 1 line per machine - showing total units sold per month

    The problem:
    - I don't know how many machines there will be per customer
    - I need to be able to dynamically create a store with a variable number of machines, and a chart with a variable number of series.

    I've found some previous forum posts, but the functions they mention (setSeries and updateChart) don't seem to exist in my version of ext = 4.0.7:
    http://www.sencha.com/forum/showthread.php?108884-chart-with-dynamic-series
    http://www.sencha.com/forum/showthre...ies-on-the-fly

    Thanks,
    Ilan

  2. Ok, please ignore, I've found the answer:
    http://www.sencha.com/forum/showthre...743#post720743

  3. #2
    Sencha Premium Member
    Join Date
    Jul 2011
    Posts
    29
    Vote Rating
    0
    Answers
    2
    IlanCopelyn is on a distinguished road

      0  

    Default


    Ok, please ignore, I've found the answer:
    http://www.sencha.com/forum/showthre...743#post720743

Tags for this Thread