Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    387
    Vote Rating
    4
    gkatz is on a distinguished road

      0  

    Question Unanswered: axes label configuration

    Unanswered: axes label configuration


    Hi; my chart looks like the picture.
    I need to control the precision of the labels on the numeric axes. actually what I need is to control the lengh of the labels. I dont need all these digits after the dot. maximum 2 digits is enough. is there a way to do this? a
    Also, the picture is from chrome browser. will the chart axes values be different on a smartphone?
    thanks in advance
    Untitled.png

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    168
    Vote Rating
    0
    philogb is on a distinguished road

      0  

    Default


    Hi,

    Thanks for your message. You can add a renderer to the label configuration:

    Code:
          
    axes: [{          type: 'Numeric',
              position: 'left',
              fields: ['djia'],
              title: 'Some title',
              label: {
                  //should return the formatted value
                  renderer: function(value) {
                      return Math.round(value * 100) / 100;
                  }
              }
          }]
    I hope this helps,

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    387
    Vote Rating
    4
    gkatz is on a distinguished road

      0  

    Thumbs up


    super easy as always with sencha.
    thanks a lot.

  4. #4
    Sencha User
    Join Date
    Nov 2010
    Posts
    168
    Vote Rating
    0
    philogb is on a distinguished road

      0  

    Default


    You're welcome!

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