1. #1
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    20
    Answers
    1
    Vote Rating
    0
    salorob is on a distinguished road

      0  

    Exclamation Unanswered: Touch chart, Time axis at bottom invisible

    Unanswered: Touch chart, Time axis at bottom invisible


    Hi,

    having a strange problem with a chart in sencha touch 2.1.

    I'm using the 2.0 charts beta, a simple window i created using sencha architect, for test purposes.

    It consists of a numericAxis and an timeAxis like so:

    Code:
    xtype: 'chart',
                    id: 'chart',
                    store: 'valuesLogStore',
                    axes: [
                        {
                            type: 'time',
                            fields: [
                                'data_ts'
                            ]
                        },
                        {
                            type: 'numeric',
                            fields: [
                                'data_value'
                            ],
                            grid: {
                                odd: {
                                    fill: '#e8e8e8'
                                }
                            },
                            position: 'left'
                        }
                    ],
                    series: [
                        {
                            type: 'line',
                            labelField: 'data_key',
                            style: {
                                smooth: true,
                                stroke: 'rgb(0,200,0)',
                                fill: 'rgba(0,200,0,0.3)'
                            },
                            xField: 'data_ts',
                            yField: 'data_value'
                        }
                    ],
                    interactions: [
                        {
                            type: 'panzoom'
                        }
    the data looks like this:

    Code:
    {
        "key": 824725,
        "data_key": 20203,
        "data_ts": 1359466618,
        "data_value": 99.0,
        "set_by": "App"
      },
      {
        "key": 197,
        "data_key": 20203,
        "data_ts": 1354546808,
        "data_value": 30.0,
        "set_by": "App"
      },
    however, as you can see, there is no X axis:
    strange.jpg

    when i change the position of the axis tot Top, this happens:

    strange2.jpg

    so, something is happening. Still not what i wanted though.

    I just want the date on the bottom.

    Anyone experienced a same problem, or knows how to fix this? This chart is the only item in its container, wich is set to 'fit'.

    Regards,

    Robert

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Answers
    3467
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Touch Charts 2 beta has been deprecated and rewritten for the charts in ST 2.1.0. You may want to use them.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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