Hi:
I am using the ext chart to draw some chart in my web pages.

Now, I meet some problems which can not be solved after reading the examples and api.

I know how to draw a line chart (though using the most simple usage),what I want is make two line in one linechart.

For example:

Code:
    //The visit chart
    var visitstore = new Ext.data.ArrayStore({
        fields:['name', 'visits']
    });
    
    var visitdata=[
            ["08", "588"],
            ["09", "55"],
            ["10", "5458"],
            ["11", "555"],
            ["12", "545"],
        ];
    visitstore.loadData(visitdata);
    
        new Ext.Panel({
        title: 'test',
        renderTo: 'visit',
        width:500,
        height:300,
        layout:'fit',
    
        items: {
            xtype: 'linechart',
            store: visitstore,
            xField: 'name',
            yField: 'visits',
        }
    });
    
    //The view chart
    var viewstore = new Ext.data.ArrayStore({
        fields:['name', 'views']
    });
    
    var viewdata=[
            ["08", "8787"],
            ["09", "454545"],
            ["10", "87878"],
            ["11", "821465"],
            ["12", "45455"],
        ];
    viewstore.loadData(viewdata);
    
        new Ext.Panel({
        title: 'test',
        renderTo: 'view',
        width:500,
        height:300,
        layout:'fit',
    
        items: {
            xtype: 'viewstore',
            store: visitstore,
            xField: 'name',
            yField: 'visits',
        }
    });
In the above example,I make two charts:the visit and view chart.

The data are got from the server side using the ajax request.

Now I want the view and visit line displayed toghether in one chart(flash).

I know this can be implement by using the "columnchart",however if so, I have to change the format of data returned from the server.

Just like:

data: [
{name:'Jul 07', visits: 245000, views: 3000000},
{name:'Aug 07', visits: 240000, views: 3500000},
{name:'Sep 07', visits: 355000, views: 4000000},
{name:'Oct 07', visits: 375000, views: 4200000},
{name:'Nov 07', visits: 490000, views: 4500000},
{name:'Dec 07', visits: 495000, views: 5800000},
{name:'Jan 08', visits: 520000, views: 6000000},
{name:'Feb 08', visits: 620000, views: 7500000}
]
If so I have to chang my server side.

So is there other way to make two lines displayed in one chart? Just like:
gRTZy.jpg

BTW, in the js source:
http://dev.sencha.com/deploy/dev/exa...hart/charts.js
I found there is a propery named "series" is used to config the columnchart, however I have not found where this property is defined,even in the parent class of linechart.