Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    11
    Vote Rating
    1
    skhameneh is on a distinguished road

      0  

    Default Scatter & Line Axes not aligning to X-axis properly.

    Scatter & Line Axes not aligning to X-axis properly.


    Code:
    axes: [{
        type: 'Numeric',
        position: 'left',
        fields: ['Actual', '7 Day Velocity', 'Average', 'Stock'],
        grid: {
            odd: {
                opacity: 1,
                fill: '#eee',
                stroke: '#ccc',
                'stroke-width': 0.5
            }
        }
    }, {
        type: 'Category',
        position: 'bottom',
        fields: ['period'],
        title: 'Demand'
    }],
    series: [{
        type: 'line',
        highlight: false,
        axis: 'left',
        xField: 'period',
        yField: 'Actual',
        markerConfig: {
            type: 'cross',
            size: 4,
            radius: 4,
            'stroke-width': 0
        }
    }, {
        type: 'line',
        highlight: false,
        axis: 'left',
        xField: 'period',
        yField: '7 Day Velocity',
        markerConfig: {
            type: 'cross',
            size: 4,
            radius: 4,
            'stroke-width': 0
        }
    }, {
        type: 'line',
        highlight: false,
        showMarkers: false,
        axis: 'left',
        xField: 'period',
        yField: 'Average',
    }, {
        type: 'scatter',
        markerConfig: {
            type: 'cross',
            radius: 5,
            size: 5
        },
        axis: 'left',
        xField: 'period',
        yField: 'Stock'
    }
    Produces:
    Untitled-1.png

    If I set the type from 'Category' to 'Numeric' for my bottom axis, that produces:
    Untitled-2.png

    This is the data I'm using:
    Code:
    Ext.create('Ext.data.ArrayStore', {
        autoDestroy: true,
        idIndex: 0,
        fields: [
            'period',
            'Actual',
            '7 Day Velocity',
            'Average',
            'Stock'
        ],
        data: [[1,4,0,0,null],[2,3,-1,0,null],[3,4,1,0,null],[4,4,0,0,54]]
    });

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    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


    Can I verify the exact version of ExtJS you are using?

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    11
    Vote Rating
    1
    skhameneh is on a distinguished road

      0  

    Default


    4.0.7

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    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


    That is what I suspected. Please try 4.1. There were numerous fixes regarding issues such as this.

    Scott.

Thread Participants: 1

Tags for this Thread

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