1. #1
    Ext User
    Join Date
    May 2010
    Posts
    4
    Vote Rating
    0
    karlaheredia is on a distinguished road

      0  

    Default Can't be configured scale for chart

    Can't be configured scale for chart


    Hello,

    I have tried to configure scale for my charts I got the data from database, it changes the chart but the scale is not the right one for my chart it is always {0, 0.5, 1}.
    I have used some Axis properties like adjust;aximunByMajorUnit, majorunit, minorunit but they have not worked.

    I attached an image to show how it looks, for "sep 2009" the point in charts is not appearing.
    and this is my source:

    StatChartPanel = function(){
    StatChartPanel.superclass.constructor.call(this,{
    region : 'north',
    id: 'statChartPanel',
    width:500,
    height:200,
    layout:'fit',
    margins: '5 5 0',
    split: true,
    minHeight: 100,
    maxHeight: 500
    });
    this.on('afterrender', function() {
    this.add(new Ext.Panel({
    id :'chartPanel',
    title: 'All - Fees',
    renderTo:'statChartPanel',
    items:[new Ext.chart.LineChart({
    store: storeStatChart,
    url : BASE_URL+'/javascripts/main/extjs/resources/charts.swf',
    xField: 'month',
    yField: 'value'
    })]
    }) );
    });
    };

    thanks in advance for any help!!
    Attached Images

Similar Threads

  1. Dynamically changing majorUnit scale factor on a rendered chart
    By ronotica in forum Ext 3.x: Help & Discussion
    Replies: 22
    Last Post: 4 Mar 2012, 1:33 AM
  2. Logarithmic chart scale
    By CrizztlCoder in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 29 Apr 2010, 5:03 AM
  3. Chart with dynamically scale change
    By essainp in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 18 Sep 2008, 11:50 AM