|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 6/6/2008 5:42:06 PM
Posts: 3,
Visits: 6
|
|
Hi,
I'm using WAMPServer 2.0 and a mySQL database. I'm going through the PHP samples and the DB_JS_dataURL sample is not working for me. The summary pie chart renders just fine on page load in Firefox and IE. Of course the bottom chart (Detailed) does not display, it shows the message "Please select a factory from pie chart above to view detailed data". So up to this part it appears everything is working fine.
When I click on any part of the pie chart there is no change to the page at all. Specifically, there is no change to the Detailed chart that is supposed to be linked to the pie chart. The link embedded into the pie chart is a javascript link using updateChart function that is defined in Default.php.
What is the problem? What can I do to fix it? If I can't get the sample to work, I am not encouraged to begin building javascript links and functions into custom chart pages.
Shogikishi
あったたたたたたぁぁ!
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 6/6/2008 5:42:06 PM
Posts: 3,
Visits: 6
|
|
the FusionCharts Database + JavaScript Example (in DB_JS folder) also experiences the same issue as mentioned above.
Anyone else encounter this before? What was the fix?
あったたたたたたぁぁ!
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 6/6/2008 5:42:06 PM
Posts: 3,
Visits: 6
|
|
No reply from ANYONE after a month, huh. Is no one using these forums? Why hasn't someone from Fusioncharts posted?
あったたたたたたぁぁ!
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 6:02:32 AM
Posts: 764,
Visits: 1,215
|
|
| Hi, The problem might be because the detailed chart is not being registered with JavaScript. Could you please check that in your code?
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/22/2008 7:05:56 PM
Posts: 2,
Visits: 3
|
|
Hi
Same problem with me.. I tried setting registered true for, both, factory summary and factory detailed but the problem is still there.
pls help me out.
thanks
dj
dj
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/22/2008 7:05:56 PM
Posts: 2,
Visits: 3
|
|
ITS WORKING NOW ..
for MySQL Users ..
File : DB_JS_dataURL > FactoryData.php
To get things working replace ..
//Now, we get the data for that factory
$strQuery = "select * from Factory_Output where FactoryId=" . $FactoryId;
With
//Now, we get the data for that factory
$strQuery = "select DATE_FORMAT('%d',DatePro) as DatePro_day, DATE_FORMAT('%m',DatePro) as DatePro_month, Quantity from Factory_Output where FactoryId=" . $FactoryId;
AND
REPLACE
// $strXML .= "";
WITH
$strXML .= "";
$strXML ="";?? View source of this page to reveal xml code.
Save It and refresh your page.
Cheers
Dj
dj
|
|
|
|