1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    41
    Vote Rating
    0
    @naresh is on a distinguished road

      0  

    Default how to add extra horizontal in line chart to show the limit of a storage used

    how to add extra horizontal in line chart to show the limit of a storage used


    hi i am using the line chart and i want to add a line in a specific storage that is 2GB in y axis .please give your opinion ,thanks, NARESH

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,653
    Vote Rating
    402
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You can add another line series.

    Scott.

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    41
    Vote Rating
    0
    @naresh is on a distinguished road

      0  

    Default


    this is my code please give me hits to add line

    {
    xtype: 'linechart',
    id:'storeID',
    minorTickSteps: 1,
    theme: 'Green',
    store: storageStore(),
    yField: 'storage',
    url: '../js/ext-3.4.0/resources/charts.swf',
    xField: 'date',
    xAxis: new Ext.chart.CategoryAxis({
    title: 'Date'
    }),
    yAxis: new Ext.chart.NumericAxis({
    title: 'Storage Used (K',
    stackingEnabled: true //this is for data range in data base regarding graph by naresh
    }),
    tipRenderer : function(chart, record){

    return Ext.util.Format.number(record.data.storage, '.000000') + ' KB storage used in ' + record.data.date;
    },
    listeners: {
    beforerefresh: function(chart) {
    return Ext.isDefined(chart.swf.setDataProvider);
    }
    },
    extraStyle: {
    xAxis: {
    labelRotation: 0
    },
    yAxis: {
    titleRotation: -90
    }
    }
    }

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Posts
    41
    Vote Rating
    0
    @naresh is on a distinguished road

      0  

    Default


    please reply

  5. #5
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,653
    Vote Rating
    402
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    In your code:
    url: '../js/ext-3.4.0/resources/charts.swf',
    But you have posted in Ext4 forums?

    Is this for Ext3?

    Scott

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Posts
    41
    Vote Rating
    0
    @naresh is on a distinguished road

      0  

    Default


    ok ,so can i do in extjs 3.4

  7. #7
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,653
    Vote Rating
    402
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    It should be possible, I just need to refresh myself on this as we used YUI charts(swf) for Ext3.

    Moved to Ext3 forums ..

    Scott

  8. #8
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,653
    Vote Rating
    402
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Taken from our online example:
    http://dev.sencha.com/deploy/ext-3.4...rt/charts.html

    // last chart .. multiple series .. in your case, you would have 2 line types
    Code:
                series: [{
                    type: 'column',
                    displayName: 'Page Views',
                    yField: 'views',
                    style: {
                        image:'bar.gif',
                        mode: 'stretch',
                        color:0x99BBE8
                    }
                },{
                    type:'line',
                    displayName: 'Visits',
                    yField: 'visits',
                    style: {
                        color: 0x15428B
                    }

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar