1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    70
    Vote Rating
    0
    mukeshgla is on a distinguished road

      0  

    Default Unanswered: Bar chart does not appear if data is very small

    Unanswered: Bar chart does not appear if data is very small


    I am facing issue in column chart. I have a chart where values range from .0036 to 1200000000 because of this the column related with data .0036 data does not appear. is there anyway to make it appear. I can understand the .0036 value is too small in comparison to 1200000000 and when you fit them in scale the small value will be negligible, Even if it doesn't appear I am ok with that but I made another provision for this . I am rendering the values just above the column i.e. 1200000000 will be rendered just above its column . but again the issue is .0036 value is not being render on chart for its column . I am using a label to render that value.

    I am using below code

    Series:[
    xField: [ x fileds]
    yField: [ y fields]
    label:{
    color: '#DFE0E0',
    display: 'outside',
    orientation : 'horizontal',
    field: [ 'valueOne','ValueTwo'],
    renderer : function(val){
    return someFormaterFunctionToFormateValue(val,false);
    },
    }
    ]

    Can anyone tell me what to do ?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,652
    Vote Rating
    901
    Answers
    3575
    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


    What about the axis?
    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.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    70
    Vote Rating
    0
    mukeshgla is on a distinguished road

      0  

    Default


    axis are appearing properly but the issue is with Column data which is very small.

Thread Participants: 1