Results 1 to 3 of 3

Thread: Line chart with x axis centered at 0 of y axis

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default Line chart with x axis centered at 0 of y axis

    Is it possible to create a line chart where the x axis is centered at 0 of the y axis, and the y values ranger from -100 to 100? In the documentation, the only positions I see for an an axis are left, bottom, right, and top.

    Also, is it possible to change the label color of the y axis, so the negative numbers are red?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    First answer is no. Second answer is you may have to create your own theme... haven't looked into that myself.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default This is a bug, can we treat it as such?

    We have data that has negative values but zero makes sense as the X axis. I think this is a bug and a fairly serious one considering our charting needs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •