Results 1 to 5 of 5

Thread: How to set chart background for area between axes only

  1. #1
    Sencha User
    Join Date
    May 2012
    Location
    Weed, CA, US
    Posts
    18
    Answers
    2
    Vote Rating
    1
      1  

    Default Unanswered: How to set chart background for area between axes only

    The Ext.chart.Chart({background: ...}) property displays under the whole chart -- that is under the labels, axes, legend, etc. How does one add a background to just the area that show series data? Specifically for a Line chart if that matters.
    Code:
      |
      |  Background
    A |  in
    X |  here
    I |  only.
    S |
      |
      _________________
        AXIS

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Answers
    716
    Vote Rating
    499
      0  

    Default

    There is nothing by default. You may have to inspect the image element and see if you can override the CSS rule.

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    May 2012
    Location
    Weed, CA, US
    Posts
    18
    Answers
    2
    Vote Rating
    1
      0  

    Default

    Thanks. That seems like more work than I'm willing to do for a play project, though.
    Since almost every charting app around has this functionality. It might be appropriate to turn this into a feature request.

  4. #4
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,016
    Answers
    1
    Vote Rating
    125
      0  

    Default

    +1

    It would be great to have this functionalirty built-in.
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

  5. #5
    Sencha User
    Join Date
    Feb 2010
    Posts
    27
    Answers
    1
    Vote Rating
    0
      0  

    Default I need the same thing !

    Hello,

    I need to put an image inside a chart to ? you find a solution ?

    Thanks
    Sylvia

Tags for this Thread

Posting Permissions

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