The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dashboard - Gsimple and fusioncharts help
#1
hi,
for my work I need to create a business dashboard. I have installed Gsimple like cms and I create charts with "fusionchart free". Fusioncharts need to have xml data.

I think I have a problem with data.xml permission.

My example:
Edit Page --- HTML Source

My code


<!-- begin FusionCharts include files -->
<script type="text/javascript" src="JavaScripts/FusionCharts.js"></script>
<script type="text/javascript" src="JavaScripts/FusionChartsDOM.js"></script>
<!-- end FusionCharts include files -->


<<!-- FIRST CHART - XML DATA INTEGRATED -->
<fusioncharts charttype="Column3D"> <data><!--[CDATA[
<graph caption="Annual Sales Summary" subcaption="For the period of 2004 to 2007"
xAxisName="Year" yAxisName="Sales" numberPrefix="$">
<set name="2004" value="37800" color='F6BD0F' />
<set name="2005" value="21900" color='8BBA00' />
<set name="2006" value="32900" color='FF8E46' />
<set name="2007" value="39800" color='008E8E' />
</graph>
]]--></data> </fusioncharts>

<<!-- SECOND CHART - XML EXTERNAL DATA -->
<fusioncharts charttype="Column3D" dataurl="Dashboard/datasource.xml"> </fusioncharts>


for complete information, datasource.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<graph caption="Annual Sales Summary" subcaption="For the period of 2004 to 2007"
xAxisName="Year" yAxisName="Sales" numberPrefix="$">
<set name="2004" value="37800" color='F6BD0F' />
<set name="2005" value="21900" color='8BBA00' />
<set name="2006" value="32900" color='FF8E46' />
<set name="2007" value="39800" color='008E8E' />
</graph>

The first chart works, the second charts don't works
Reply
#2
Where is your external data file located? You might need to provide full URL to the file.
Reply




Users browsing this thread: 1 Guest(s)