1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    133
    Vote Rating
    1
    renganathan is on a distinguished road

      0  

    Default Unanswered: Extjs4 ChartC- Width Problem - Help Needed

    Unanswered: Extjs4 ChartC- Width Problem - Help Needed


    Hi All,

    Please refer the following graph . I have dynamically created chart. Here X axis have multiple values , that is why chart bar width is slim. Here it looking fine

    graph1.png



    But in case if there is only one value in X axis , the graph is looking odd. The chart bar width is very big.
    please refer this example

    graph 2.png




    can u guys suggest me how to solve this problem ? i want slim width even if x axis has only one data.
    Thanks,

    RENGANATHAN M G
    http://www.renganathan.net

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,599
    Vote Rating
    434
    Answers
    3102
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    You can try to create a chart theme but I don't think that is going to work too well.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    178
    Vote Rating
    0
    astrocybernaute is on a distinguished road

      0  

    Default


    i have the same issue
    i tried
    to add this on series
    style: { size:8}
    but its not working
    im out of ideas plz help

Tags for this Thread