XML/SWF Charts| CSS/XML Timeline Eons(New)| Timeline Eons| SlickBoard

 < previousnext > 

 

Background Color

 

The background is the area that holds all the chart elements, including the legend, titles, etc. The background is the entire red area here:

 


The background color is set in the web page that displays the chart.

Search for and change the "bgcolor" in the web page code. The color is a string holding triple hexadecimal values representing the red, green, and blue components of a color:

   'bgcolor', '#8800ff',   

 


To change the background color from the source file, ignore the above bgcolor parameter and draw a color rectangle underneath the chart:

<chart>

   <draw>
      <rect layer='background'   
            x='0' 
            y='0' 
            width='400'  
            height='250' 
            fill_color='FF0000'   
            fill_alpha='100'
            line_alpha='0'
            />
   </draw>

</chart>

 

 

 < previousnext > 


Copyright © 2003-2017, maani.us