1. #1
    Sencha User
    Join Date
    May 2012
    Location
    Weed, CA, US
    Posts
    18
    Vote Rating
    1
    Answers
    2
    justinzane is on a distinguished road

      1  

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

    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,197
    Vote Rating
    482
    Answers
    690
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      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
    Vote Rating
    1
    Answers
    2
    justinzane is on a distinguished road

      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
    977
    Vote Rating
    113
    Answers
    1
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default


    +1

    It would be great to have this functionalirty built-in.
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  5. #5
    Sencha User
    Join Date
    Feb 2010
    Posts
    27
    Vote Rating
    0
    Answers
    1
    syl_via38 is on a distinguished road

      0  

    Default I need the same thing !

    I need the same thing !


    Hello,

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

    Thanks
    Sylvia