Results 1 to 4 of 4

Thread: Chars: Add a thick line in the graph

  1. #1
    Sencha User
    Join Date
    Jul 2011
    Location
    Holland
    Posts
    98
    Answers
    2

    Default Chars: Add a thick line in the graph

    Good day folks,

    I'd like to create a bar-chart with values above and below the zero. All fine, it's pretty straight forward to create this.
    Now I want to mark the 0-line with a thick line, the same as the attached example. I'm not too familiar with the non-out-of-the-box Chart functionality, that's why I couldn't figure this out by myself.

    Adding a line serie won't do it. The line won't fill the whole width (see second attached file with added red circles)

    Anyone who can help me doing this? Thank you,





    example.png

    wrong.png

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716

    Default

    Here is an example of painting custom lines on the surface:
    http://www.sencha.com/forum/showthread.php?236137

    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Location
    Holland
    Posts
    98
    Answers
    2

    Default

    Thanks Scott.
    However, I can't access this topic. I guess I don't have enough rights. Could you please inform me about the solution mentioned in this topic? Thank you,

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716

    Default

    Here is a fiddle of the post:
    https://fiddle.sencha.com/#fiddle/15d

    Scott.

Posting Permissions

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