1. #1
    Sencha User usczeus's Avatar
    Join Date
    Dec 2010
    Location
    Pasadena, CA
    Posts
    7
    Vote Rating
    0
    usczeus is on a distinguished road

      0  

    Exclamation Line Chart - Static Column name but graphy by dynamic column value

    Line Chart - Static Column name but graphy by dynamic column value


    I'm sure this is ridiculously simple, but for the life of me I can't figure it out. If I have tabular data in my source, where salesperson can be different every week. How can I create a chart that shows both everyone's numbers as a separate trend line?

    Code:
    var store1 = new Ext.data.JsonStore({
            fields: ['salesperson','name', 'data1'],
            data: [
                    {salesperson: 'Billy', name: 'Jan', data1: 10},
                    {salesperson: 'Billy', name: 'Feb', data1: 20},
                    {salesperson: 'Billy', name: 'Mar', data1: 30},
                    {salesperson: 'Billy', name: 'Apr', data1: 40},
                    .
                    .
                    .
                    {salesperson: 'Dee', name: 'Jan', data1: 50},
                    {salesperson: 'Dee', name: 'Feb', data1: 60},
                    {salesperson: 'Dee', name: 'Mar', data1: 70},
                    {salesperson: 'Dee', name: 'Apr', data1: 80}
            ]
    });

  2. #2
    Sencha User usczeus's Avatar
    Join Date
    Dec 2010
    Location
    Pasadena, CA
    Posts
    7
    Vote Rating
    0
    usczeus is on a distinguished road

      0  

    Default


    Here's basically what I need. The number of names in first column will always vary. I need the chart to be able to always show all names. I cannot figure out how to modify the extjs to do this.

    Dynamic Series.jpg

Similar Threads

  1. Chart several line in one column
    By Mycoding in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 12 Dec 2010, 9:31 AM
  2. how to Dynamic load column as x-axis in chart?
    By yanasdf789 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 3 Jul 2010, 12:04 AM
  3. column lock plugin with Dynamic column model plugin
    By stephen.lordson in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 18 Jun 2008, 8:42 AM
  4. Grid line numbers column ?
    By newinext in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 14 May 2008, 3:26 PM
  5. Grid column wraps to second line
    By kalebwalton in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 30 Mar 2007, 7:13 AM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi