Hybrid View

    You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Touch Premium Member
    Join Date
    Mar 2008
    Location
    Morgan Hill, CA
    Posts
    126
    Vote Rating
    3
    margozzi is on a distinguished road

      0  

    Default [CLOSED]Chart Numeric Axes label customization

    [CLOSED]Chart Numeric Axes label customization


    For a numeric axis, it would be nice to allow users to customize the labels. See the attachments for an example. Ether the charts could be set up to handle units ( MB/s ) and number formatting. Or at the very least give us a formatting option where we get passed the numeric value and we return a formatted string for the value.

    Current axis labeling:
    Graph1.PNG


    Desired axis labeling:
    Graph1-label.PNG

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    You can set a renderer for the labels where you can change it to whatever function you wish (defaults to just returning the value).

  3. #3
    Touch Premium Member
    Join Date
    Mar 2008
    Location
    Morgan Hill, CA
    Posts
    126
    Vote Rating
    3
    margozzi is on a distinguished road

      0  

    Default


    I did not see that option in the Docs or in the source code. Could you please give me a pointer?

Similar Threads

  1. Replies: 5
    Last Post: 16 Nov 2011, 8:11 AM
  2. [FIXED] Chart - Line - Numeric Axes - problem
    By enpasos in forum Ext:Bugs
    Replies: 4
    Last Post: 16 Mar 2011, 1:26 AM
  3. Charts - axes label orientation
    By eztam in forum Ext: Discussion
    Replies: 0
    Last Post: 9 Mar 2011, 11:56 PM
  4. Chart with 2 axes
    By newbie20110112 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 12 Jan 2011, 1:58 PM
  5. Chart object with 2 Y-axes on different scales
    By jtpacheco in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 7 Jul 2010, 7:41 AM

Thread Participants: 1

Tags for this Thread