1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    1
    Vote Rating
    0
    VGAngel is on a distinguished road

      0  

    Default Unanswered: Column Chart. Constants

    Column Chart. How do I add a constant to a line(horizontal line), for example "average"?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,316
    Vote Rating
    485
    Answers
    704
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      0  

    Default

    You would create a 2nd series (line) that would draw the line based on the average of the bars. You will need to calc the values for the line series and use that store to draw the line.

    Scott.

  3. #3
    Ext JS Premium Member troseberry's Avatar
    Join Date
    Feb 2010
    Location
    Dayton, OH
    Posts
    277
    Vote Rating
    10
    troseberry will become famous soon enough

      0  

    Default

    I just created a chart plugin extension that allows for you to include threshold lines and ranges into cartesian series charts

    Thought it might interest you.

    http://www.sencha.com/forum/showthre...rtesian-Charts

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,316
    Vote Rating
    485
    Answers
    704
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      0  

    Default

    Very cool.. thanks for sharing.

    Scott

Thread Participants: 2