Notice: Undefined variable: chart in /home/maani63/public_html/xml_charts/source.php on line 22
<!-- this page contains the code for 2 charts, which must be separated into 2 files --> <!-- the first chart places another chart in its background by using the draw function --> <!-- this is the XML source for the first chart --> <chart> <axis_category alpha='0' /> <axis_ticks value_ticks='false' category_ticks='false' /> <axis_value shadow='low' size='10' color='ffffff' alpha='65' steps='4' prefix='' suffix='' decimals='0' separator='' show_min='false' /> <chart_border color='4c5e6f' top_thickness='0' bottom_thickness='0' left_thickness='0' right_thickness='0' /> <chart_data> <row> <null/> <string>1</string> <string>2</string> <string>3</string> <string>4</string> <string>5</string> <string>6</string> <string>7</string> <string>8</string> <string>9</string> <string>10</string> <string>11</string> <string>12</string> <string>13</string> <string>14</string> <string>15</string> <string>16</string> <string>17</string> <string>18</string> <string>19</string> <string>20</string> <string>21</string> <string>22</string> <string>23</string> <string>24</string> <string>25</string> <string>26</string> <string>27</string> <string>28</string> <string>29</string> <string>30</string> </row> <row> <string>max</string> <number tooltip='4'>4</number> <number tooltip='5'>5</number> <number tooltip='6'>6</number> <number tooltip='8'>8</number> <number tooltip='10'>10</number> <number tooltip='11'>11</number> <number tooltip='12'>12</number> <number tooltip='10'>10</number> <number tooltip='12'>12</number> <number tooltip='10'>10</number> <number tooltip='8'>8</number> <number tooltip='6'>6</number> <number tooltip='6'>6</number> <number tooltip='5'>5</number> <number tooltip='6'>6</number> <number tooltip='7'>7</number> <number tooltip='5'>5</number> <number tooltip='10'>10</number> <number tooltip='15'>15</number> <number tooltip='16'>16</number> <number tooltip='20'>20</number> <number tooltip='22'>22</number> <number tooltip='26'>26</number> <number tooltip='28'>28</number> <number tooltip='29'>29</number> <number tooltip='28'>28</number> <number tooltip='25'>25</number> <number tooltip='26'>26</number> <number tooltip='28'>28</number> <number tooltip='30'>30</number> </row> <row> <string>min</string> <number tooltip='1'>1</number> <number tooltip='1'>1</number> <number tooltip='3'>3</number> <number tooltip='5'>5</number> <number tooltip='7'>7</number> <number tooltip='8'>8</number> <number tooltip='10'>10</number> <number tooltip='7'>7</number> <number tooltip='8'>8</number> <number tooltip='6'>6</number> <number tooltip='5'>5</number> <number tooltip='3'>3</number> <number tooltip='3'>3</number> <number tooltip='2'>2</number> <number tooltip='2'>2</number> <number tooltip='1'>1</number> <number tooltip='2'>2</number> <number tooltip='3'>3</number> <number tooltip='5'>5</number> <number tooltip='8'>8</number> <number tooltip='10'>10</number> <number tooltip='13'>13</number> <number tooltip='13'>13</number> <number tooltip='15'>15</number> <number tooltip='19'>19</number> <number tooltip='19'>19</number> <number tooltip='19'>19</number> <number tooltip='23'>23</number> <number tooltip='25'>25</number> <number tooltip='25'>25</number> </row> <row> <string>open</string> <number tooltip='2'>2</number> <number tooltip='4'>4</number> <number tooltip='5'>5</number> <number tooltip='6'>6</number> <number tooltip='8'>8</number> <number tooltip='10'>10</number> <number tooltip='11'>11</number> <number tooltip='8'>8</number> <number tooltip='9'>9</number> <number tooltip='8'>8</number> <number tooltip='6'>6</number> <number tooltip='5'>5</number> <number tooltip='5'>5</number> <number tooltip='4'>4</number> <number tooltip='5'>5</number> <number tooltip='3'>3</number> <number tooltip='4'>4</number> <number tooltip='5'>5</number> <number tooltip='6'>6</number> <number tooltip='12'>12</number> <number tooltip='13'>13</number> <number tooltip='15'>15</number> <number tooltip='15'>15</number> <number tooltip='16'>16</number> <number tooltip='20'>20</number> <number tooltip='23'>23</number> <number tooltip='23'>23</number> <number tooltip='25'>25</number> <number tooltip='26'>26</number> <number tooltip='26'>26</number> </row> <row> <string>close</string> <number tooltip='3'>3</number> <number tooltip='2'>2</number> <number tooltip='4'>4</number> <number tooltip='7'>7</number> <number tooltip='9'>9</number> <number tooltip='9'>9</number> <number tooltip='11'>11</number> <number tooltip='9'>9</number> <number tooltip='11'>11</number> <number tooltip='9'>9</number> <number tooltip='7'>7</number> <number tooltip='4'>4</number> <number tooltip='4'>4</number> <number tooltip='3'>3</number> <number tooltip='4'>4</number> <number tooltip='5'>5</number> <number tooltip='3'>3</number> <number tooltip='4'>4</number> <number tooltip='7'>7</number> <number tooltip='9'>9</number> <number tooltip='15'>15</number> <number tooltip='20'>20</number> <number tooltip='14'>14</number> <number tooltip='17'>17</number> <number tooltip='28'>28</number> <number tooltip='25'>25</number> <number tooltip='20'>20</number> <number tooltip='24'>24</number> <number tooltip='27'>27</number> <number tooltip='28'>28</number> </row> </chart_data> <chart_grid_h alpha='7' color='000000' thickness='23' /> <chart_grid_v alpha='7' color='000000' thickness='1' /> <chart_guide vertical='true' horizontal='true' thickness='1' color='ffffff' alpha='30' type='dashed' snap_v='false' radius='3' fill_alpha='90' fill_color='ff4400' line_alpha='50' line_thickness='0' text_h_alpha='90' text_v_alpha='0' text_color='ffffff' connect='true' /> <chart_pref type='body' line_thickness='1' bull_color='88ff00' bear_color='ff8800' /> <chart_rect x='80' y='30' width='340' height='150' positive_color='000000' positive_alpha='20' /> <chart_type>candlestick</chart_type> <draw> <text transition='dissolve' shadow='low' color='000000' alpha='50' rotation='-90' size='50' x='15' y='200' width='170' height='80' h_align='center'>stock</text> <text transition='dissolve' shadow='high' color='FFFFFF' alpha='85' size='30' x='85' y='30' width='300' h_align='left'>June 2009</text> <image transition='dissolve' url='charts.swf?library_path=charts_library&xml_source=xml%2FGallery_Multiscroll_2_2.xml' /> <image transition='dissolve' url='images/slider_bg.gif' x='86' y='183' width='329' height='17' /> </draw> <filter> <shadow id='low' distance='2' angle='45' color='0' alpha='50' blurX='4' blurY='4' /> <shadow id='high' distance='5' angle='45' color='0' alpha='50' blurX='10' blurY='10' /> <bevel id='tooltip' angle='45' blurX='10' blurY='10' distance='5' highlightAlpha='25' shadowAlpha='15' /> </filter> <scroll transition='dissolve' duration='.5' x='62' y='182' width='377' height='20' url_button_1_idle='images/slider_L.gif' url_button_2_idle='images/slider_R.gif' button_length='23' url_button_1_over='images/slider_over_L.gif' url_button_1_press='images/slider_L.gif' url_button_2_over='images/slider_over_R.gif' url_button_2_press='images/slider_R.gif' url_slider_body='images/slider_handle.gif' url_slider_handle_1='images/slider_handle_L.gif' url_slider_handle_2='images/slider_handle_R.gif' slider_handle_length='10' gap='2' start='30' span='70' drag='false' alpha='100'/> <legend layout='hide' /> <tooltip color='FFFFFF' alpha='70' size='12' background_color_1='ff4400' background_alpha='90' shadow='high' bevel='tooltip' /> <series set_gap='25' /> </chart> <!--=========================================================================== --> <!-- this is the XML source for the second chart --> <chart> <axis_category shadow='low' size='11' color='000000' alpha='75' skip='1' /> <axis_ticks value_ticks='false' category_ticks='true' major_thickness='2' minor_thickness='1' minor_count='3' major_color='000000' minor_color='444444' position='outside' /> <axis_value shadow='low' max='30' size='10' color='ffffff' alpha='65' steps='4' prefix='' suffix='' decimals='0' separator='' show_min='true' /> <chart_border color='000000' top_thickness='0' bottom_thickness='2' left_thickness='0' right_thickness='0' /> <chart_data> <row> <null/> <string>1</string> <string>2</string> <string>3</string> <string>4</string> <string>5</string> <string>6</string> <string>7</string> <string>8</string> <string>9</string> <string>10</string> <string>11</string> <string>12</string> <string>13</string> <string>14</string> <string>15</string> <string>16</string> <string>17</string> <string>18</string> <string>19</string> <string>20</string> <string>21</string> <string>22</string> <string>23</string> <string>24</string> <string>25</string> <string>26</string> <string>27</string> <string>28</string> <string>29</string> <string>30</string> </row> <row> <string></string> <number tooltip='22 million'>22</number> <number tooltip='26 million'>26</number> <number tooltip='28 million'>28</number> <number tooltip='27 million'>27</number> <number tooltip='28 million'>28</number> <number tooltip='25 million'>25</number> <number tooltip='26 million'>26</number> <number tooltip='20 million'>20</number> <number tooltip='15 million'>15</number> <number tooltip='14 million'>14</number> <number tooltip='15 million'>15</number> <number tooltip='16 million'>16</number> <number tooltip='18 million'>18</number> <number tooltip='10 million'>10</number> <number tooltip='11 million'>11</number> <number tooltip='12 million'>12</number> <number tooltip='10 million'>10</number> <number tooltip='12 million'>12</number> <number tooltip='10 million'>10</number> <number tooltip='8 million'>8</number> <number tooltip='6 million'>6</number> <number tooltip='6 million'>6</number> <number tooltip='5 million'>5</number> <number tooltip='6 million'>6</number> <number tooltip='7 million'>7</number> <number tooltip='5 million'>5</number> <number tooltip='10 million'>10</number> <number tooltip='15 million'>15</number> <number tooltip='16 million'>16</number> <number tooltip='20 million'>20</number> </row> </chart_data> <chart_grid_h alpha='20' color='000000' thickness='1' /> <chart_grid_v alpha='20' color='000000' thickness='1' /> <chart_guide vertical='true' horizontal='true' thickness='1' color='ffffff' alpha='30' type='dashed' snap_h='false' snap_v='false' radius='3' fill_alpha='0' fill_color='FF8800' line_alpha='90' line_thickness='0' text_h_alpha='90' text_v_alpha='0' text_color='ffffff' connect='true' /> <chart_rect x='80' y='201' width='340' height='50' positive_color='000000' positive_alpha='30' /> <chart_type>column</chart_type> <draw> <text shadow='low' color='000000' alpha='50' rotation='-90' size='16' x='38' y='278' width='100' height='100' h_align='center'>volume</text> <rect x='60' y='190' width='18' height='20' fill_color='4c5e6f' /> </draw> <filter> <shadow id='low' distance='2' angle='45' color='0' alpha='50' blurX='4' blurY='4' /> <shadow id='high' distance='5' angle='45' color='0' alpha='50' blurX='10' blurY='10' /> <bevel id='tooltip' angle='45' blurX='10' blurY='10' distance='5' highlightAlpha='25' shadowAlpha='15' /> </filter> <legend layout='hide' /> <tooltip color='FFFFFF' alpha='70' size='12' background_color_1='ff4400' background_alpha='90' shadow='high' bevel='tooltip' /> <series_color> <color>6666cc</color> </series_color> <series set_gap='25' /> </chart>