1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    1
    Vote Rating
    0
    Passugger is on a distinguished road

      0  

    Default Hide labels on a chart

    Hide labels on a chart


    Hi, i want to hide the labels for the bottom axis.
    In ExtJS <4 it worked the following way:

    extraStyle: {
    xAxis: {showLabels: false},
    yAxis: {showLabels: false}
    }

    How to solve this in ExtJS 4?

  2. #2
    Sencha User
    Join Date
    Apr 2010
    Posts
    48
    Vote Rating
    0
    whippersnapper is on a distinguished road

      0  

    Default


    Have you tried setting the title of the axis to blank and forcing a redraw of the axis label?

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Location
    Missouri
    Posts
    10
    Vote Rating
    2
    Gibolt is on a distinguished road

      0  

    Default


    Try this:

    Code:
    function emptyText(val) {
        return '';
    }
    
    ...axes: [{
            type    : 'Category',
            position: 'bottom',        fields  : ['data'],
            label   : {renderer: emptyText},
            title   :  'Title'
    }, ...

  4. #4
    Sencha User
    Join Date
    Feb 2008
    Posts
    107
    Vote Rating
    0
    JDevloper is on a distinguished road

      0  

    Default


    Hi ,

    Am using the above function,am able to hide the labels,but am unable to remove chart ticks,

    Can any body know how to remove the ticks and labels....


    Thanks In Advance

  5. #5
    Sencha User
    Join Date
    Feb 2008
    Posts
    107
    Vote Rating
    0
    JDevloper is on a distinguished road

      0  

    Default


    Can anybody have a solution to this scenario ???

  6. #6
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    36
    Vote Rating
    0
    jlawton is on a distinguished road

      0  

    Default


    you can add "hidden: true" to remove the line and ticks.

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