boywithk9
Members-
Content count
31 -
Joined
-
Last visited
-
Days Won
2
Everything posted by boywithk9
-
I have a chart that's mysteriously dropping some of the characters from the labels. Note that the year is missing in several of the x-axis labels in the second chart on the following page (screenshot also attached): http://deheer.com/cjdeheercom/stats/print_rates.html Here's the xml for the chart: <chart caption="30-YEAR FIXED INTEREST RATE MORTGAGES" subCaption="Mortgage Rate History (36 Months)" showvalues="0" yAxisMinValue="4" yAxisValueDecimals="3" numberSuffix="%" labelDisplay='ROTATE' showBorder="0" bgColor="FFFFFF" showAlternateHGridColor="0" chartLeftMargin="0" chartRightMargin="5" adjustDiv="0" numDivLines="11" plotSpacePercent="50" baseFont='Verdana' baseFontSize ='11px' baseFontColor ='333' lineColor="E56B00" lineThickness="1" anchorRadius="0" anchorBgColor="E56B00" showShadow="0" decimals='3' forceDecimals='1' canvasBorderColor='cccccc' canvasBorderThickness='1' exportEnabled="1" exportShowMenuItem="0" exportType="PDF=Export as PDF File" exportAtClient="1" exportHandler="fcExporter1" exportFileName="interest_rates_short-term"> <set label="May-08" value="6.04" color='E56B00' /> <set label="Jun-08" value="6.32" color='E56B00' /> <set label="Jul-08" value="6.43" color='E56B00' /> <set label="Aug-08" value="6.48" color='E56B00' /> <set label="Sep-08" value="6.04" color='E56B00' /> <set label="Oct-08" value="6.2" color='E56B00' /> <set label="Nov-08" value="6.09" color='E56B00' /> <set label="Dec-08" value="5.29" color='E56B00' /> <vLine color='cccccc' /> <set label="Jan-09" value="5.05" color='E56B00' /> <set label="Feb-09" value="5.13" color='E56B00' /> <set label="Mar-09" value="5.0" color='E56B00' /> <set label="Apr-09" value="4.81" color='E56B00' /> <set label="May-09" value="4.86" color='E56B00' /> <set label="Jun-09" value="5.42" color='E56B00' /> <set label="Jul-09" value="5.22" color='E56B00' /> <set label="Aug-09" value="5.19" color='E56B00' /> <set label="Sep-09" value="5.06" color='E56B00' /> <set label="Oct-09" value="4.95" color='E56B00' /> <set label="Nov-09" value="4.88" color='E56B00' /> <set label="Dec-09" value="4.93" color='E56B00' /> <vLine color='cccccc' /> <set label="Jan-10" value="5.03" color='E56B00' /> <set label="Feb-10" value="4.99" color='E56B00' /> <set label="Mar-10" value="4.97" color='E56B00' /> <set label="Apr-10" value="5.10" color='E56B00' /> <set label="May-10" value="4.89" color='E56B00' /> <set label="Jun-10" value="4.74" color='E56B00' /> <set label="Jul-10" value="4.56" color='E56B00' /> <set label="Aug-10" value="4.43" color='E56B00' /> <set label="Sep-10" value="4.35" color='E56B00' /> <set label="Oct-10" value="4.23" color='E56B00' /> <set label="Nov-10" value="4.30" color='E56B00' /> <set label="Dec-10" value="4.71" color='E56B00' /> <vLine color='cccccc' /> <set label="Jan-11" value="4.76" color='E56B00' /> <set label="Feb-11" value="4.95" color='E56B00' /> <set label="Mar-11" value="4.84" color='E56B00' /> <set label="Apr-11" value="4.84" color='E56B00' /> <styles> <definition> <style name='CaptionStyle' type='font' font='Verdana' size='10' bold="0" color='333' letterspace="1" /> </definition> <application> <apply toObject='Caption' styles='CaptionStyle' /> </application> <definition> <style name='SubCaptionStyle' type='font' font='Georgia' size='22' bold="0" color='333333' /> </definition> <application> <apply toObject='subCaption' styles='SubCaptionStyle' /> </application> <definition> <style name='yAxisNameStyle' type='font' font='Verdana' size='12' bold="1" color='333333' isHTML="1" /> </definition> <application> <apply toObject='yAxisName' styles='yAxisNameStyle' /> </application> </styles> </chart>
-
Since upgrading to 3.2, the labels on one of my charts are truncated with an ellipses. http://deheer.com/cjdeheercom/stats/coastal_sfh_print.html I have this chart set up so the exported PNG file is oversized so I can scale it down in a page layout application, essentially achieving a resolution appropriate for printing. So I don't want to change the font sizes (which I suspect might be your recommendation) because the type in the scaled down output would be too small. Thanks
-
I entered the information in the form you sent thinking that it might give an opportunity to upload the files in a subsequent form, but it didn't. There's no way for me to send files through the form you sent.
-
I just emailed the xml files to [email protected].
-
Any word on when this will be fixed?
-
I have a stacked bar chart that renders fine, except on the iPhone/iPad. For some reason, it shows the Y-axis values in the thousands (i.e., it adds K to the end), so the bars only show as a blip in the chart (the highest value is about 300). You can see what I'm talking about in the last chart on the following page: http://cjdeheer.com/market-statistics-single-family-homes.php Also, I use the feature where only Nth X-axis label is displayed, and since that feature isn't implemented in the HTML5 version (or at least it isn't working), the labels in all my charts appear crammed together. Any suggestions?
-
Since upgrading to 3.2, I get intermittent "error in loading data" messages for some charts. Since the problem only happens sometimes (about 50% of the time), it's not a question of the URL for the xml file being incorrect. The only unusual thing about my setup is that the xml files live on a different server from the php file. I'm using a relayer that you provided to accomplish that. (I don't have ftp rights on the main server, which is why I need to keep the xml files elsewhere.) The second graph on the following page is most prone to this problem: http://cjdeheer.com/santa-cruz-market-statistics-sfh-coastal.php Any suggestions?
-
I have a 2D bar chart that works fine in flash, but the html5 fallback version is cutting off almost all of the labels. http://deheer.com/cjdeheercom/stats/coldwell-banker_marketshare.html
-
That worked great. I had to change the rotation and the x value for a column chart, but that did the trick. You can see the results in the market statistics section of cjdeheer.com (assuming you have an iPad). Thanks very much!
-
Perfect, thanks! Is a similar workaround available for column charts that would only display every nth label? My charts on www.cjdeheer.com/market-statistics-single-family-homes.php aren't very pretty on the iPad 'cause the labels are crunched together.
-
That worked, thanks. Looking forward to your solution for the y-axis labels.
-
When you say "before you call render()", so you mean like this? If so, it's not working. <div id=chart1 align=center>The chart will appear within this DIV. This text will be replaced by the chart.</div> <script type=text/javascript> var myChart = new FusionCharts("../chartswf/Bar2D.swf?registerWithJS=1", "myChartId", "560", "175", "0", "1"); myChart.setDataURL("coldwell-banker_marketshare.xml"); if (!!chart._overrideJSChartConfiguration) { chart._overrideJSChartConfiguration({ plotOptions: { series: { dataLabels: { enabled: true, style: { fontSize: "7pt" }, color: "#FFFFFF", align: "right", x: -10, y: -2 } } } }); } myChart.render("chart1"); </script>
-
Just FYI, this problem is still occurring in v 3.2.1, although some charts that were previously showing ellipses are now showing correctly, and others that were previously showing correctly are now showing ellipses. On this page, only one of the 4 graphs is showing ellipses (all 4 graphs have exactly the same labels). Thanks
-
Just FYI, I just upgraded to v 3.2.1, and this problem is still happening. Also, the plot values are now also being pushed outside of view.
-
Here's the code: <chart showvalues="1" numberprefix="$" setAdaptiveYMin='0' yAxisMaxValue='320000000' labelDisplay='ROTATE' showYAxisValues='0' labelStep='1' placeValuesInside="1" formatNumberScale="0" showBorder="0" bgColor="FFFFFF" showAlternateHGridColor="0" chartLeftMargin="0" chartRightMargin="0" showPlotBorder="0" plotGradientColor="" plotFillRatio='100,0' canvasBorderColor="FFFFFF" adjustDiv="0" plotSpacePercent="40" baseFont='Verdana' baseFontSize ='11px' baseFontColor ='333' decimals='0' numDivLines='0' xAxisNameWidth="125"> <set label="Coldwell Banker" value="315457347" color='E56B00' /> <set label="David Lyng & Associates" value="247531271" color='32759D' /> <set label="Bailey Properties" value="246406005" color='32759D' /> <set label="Century 21" value="124559811" color='32759D' /> <set label="American Dream Realty" value="119646294" color='32759D' />
-
Intermittent "error In Loading Data" Message
boywithk9 replied to boywithk9's topic in General usage
I changed my setup to not use the relayer, and the error is no longer occurring. So it looks like the relayer php you gave me no longer works with v3.2. -
Intermittent "error In Loading Data" Message
boywithk9 replied to boywithk9's topic in General usage
I was able to get the problem to occur while debugging mode was on, and I got the following error: ERROR: An error occurred while loading data. Please check your dataURL, by clicking on the "dataURL invoked" link above, to see if it's returing valid XML data. Common causes for error are: No URL Encoding provided for querystrings in dataURL. If your dataURL contains querystrings as parameters, you'll need to URL Encode the same. e.g., Data.asp?id=101&subId=242 should be Data%2Easp%3Fid%3D101%26subId%3D242 Different sub-domain of chart .swf and dataURL. Both need to be same owing to sandbox security. Network error It looks like something changed in 3.2 that is causing the use of the relayer to fail intermittently. -
Intermittent "error In Loading Data" Message
boywithk9 replied to boywithk9's topic in General usage
I enabled debugging mode and it returned the following (note that the chart DID display correctly while this debug information was provided): Info: Chart loaded and initialized. Initial Width: 755 Initial Height: 375 Scale Mode: noScale Debug Mode: Yes Application Message Language: EN Version: 3.1.1 Chart Type: Single Series 2D Column Chart Chart Objects: BACKGROUND CANVAS CAPTION SUBCAPTION YAXISNAME XAXISNAME DIVLINES YAXISVALUES HGRID DATALABELS DATAVALUES TRENDLINES TRENDVALUES DATAPLOT TOOLTIP VLINES VLINELABELS INFO: Chart registered with external script. DOM Id of chart is chartobject-1 WARNING: Could not find dataXML or dataURL parameter. Setting dataURL to default data file Data.xml. dataURL provided: Data.xml dataURL invoked: Data.xml?FCTime=324 INFO: setDataXML method invoked from external script. INFO: XML Data provided using dataXML method. XML Data: <?xml version="1.0" encoding="UTF-8"?> <chart adjustDiv="0" baseFont="Verdana" baseFontColor="333" baseFontSize="11px" bgColor="FFFFFF" canvasBorderColor="FFFFFF" caption="COASTAL SINGLE-FAMILY HOMES IN SANTA CRUZ COUNTY" chartLeftMargin="48" chartRightMargin="0" exportAtClient="1" exportEnabled="1" exportFileName="coastal_sfh_units" exportHandler="fcExporter1" exportShowMenuItem="1" exportType="PDF=Export as PDF File" labelDisplay="ROTATE" labelStep="1" numDivLines="10" plotFillRatio="100,0" plotGradientColor="" plotSpacePercent="70" setAdaptiveYMin="0" showAlternateHGridColor="0" showBorder="0" showPlotBorder="0" showvalues="1 " subCaption="Number of Sales"> <set color="32759d" label="2000-Q1" value="90" /> <set color="32759d" label="2000-Q2" value="101" /> <set color="32759d" label="2000-Q3" value="80" /> <set color="32759d" label="2000-Q4" value="70" /> <set color="32759d" label="2001-Q1" value="50" /> <set color="32759d" label="2001-Q2" value="65" /> <set color="32759d" label="2001-Q3" value="58" /> <set color="32759d" label="2001-Q4" value="51" /> <set color="32759d" label="2002-Q1" value="53" /> <set color="32759d" label="2002-Q2" value="79" /> <set color="32759d" label="2002-Q3" value="67" /> <set color="32759d" label="2002-Q4" value="66" /> <set color="32759d" label="2003-Q1" value="63" /> <set color="32759d" label="2003-Q2" value="70" /> <set color="32759d" label="2003-Q3" value="99" /> <set color="32759d" label="2003-Q4" value="80" /> <set color="32759d" label="2004-Q1" value="71" /> <set color="32759d" label="2004-Q2" value="89" /> <set color="32759d" label="2004-Q3" value="92" /> <set color="32759d" label="2004-Q4" value="61" /> <set color="32759d" label="2005-Q1" value="64" /> <set color="32759d" label="2005-Q2" value="76" /> <set color="32759d" label="2005-Q3" value="87" /> <set color="32759d" label="2005-Q4" value="52" /> <set color="32759d" label="2006-Q1" value="55" /> <set color="32759d" label="2006-Q2" value="63" /> <set color="32759d" label="2006-Q3" value="64" /> <set color="32759d" label="2006-Q4" value="55" /> <set color="32759d" label="2007-Q1" value="46" /> <set color="32759d" label="2007-Q2" value="64" /> <set color="32759d" label="2007-Q3" value="69" /> <set color="32759d" label="2007-Q4" value="49" /> <set color="32759d" label="2008-Q1" value="30" /> <set color="32759d" label="2008-Q2" value="49" /> <set color="32759d" label="2008-Q3" value="55" /> <set color="32759d" label="2008-Q4" value="30" /> <set color="32759d" label="2009-Q1" value="18" /> <set color="32759d" label="2009-Q2" value="41" /> <set color="32759d" label="2009-Q3" value="52" /> <set color="32759d" label="2009-Q4" value="57" /> <set color="32759d" label="2010-Q1" value="38" /> <set color="32759d" label="2010-Q2" value="52" /> <set color="32759d" label="2010-Q3" value="53" /> <styles> <definition> <style bold="0" color="333" font="Verdana" letterspace="1" name="CaptionStyle" size="10" type="font" /> </definition> <application> <apply styles="CaptionStyle" toObject="Caption" /> </application> <definition> <style bold="0" color="333333" font="Georgia" name="SubCaptionStyle" size="22" type="font" /> </definition> <application> <apply styles="SubCaptionStyle" toObject="subCaption" /> </application> </styles> </chart> -
Thanks for your reply. However... 1. The labels I'm using aren't long. They're only 7 characters. 2. Some of my charts with the exact same labels aren't truncated, so the logic is being applied inconsistently. Compare the first two charts on this page with the second two charts: http://deheer.com/cjdeheercom/stats/print_coastal.html
-
I'm having the same problem.
-
I'm noticing that the labels on some charts are being truncated, and some aren't -- even though the labels and chart types are identical. Note the first and third (and second and fourth) charts: http://deheer.com/cjdeheercom/stats/print_coastal.html Why would the problem be so random?
-
Is it possible to host the xml file on a different server from the site itself? I'm switching to a provider that provides a CMS to manage my site, and it would be more time-consuming for me to have to individually upload all the xml files every time they change (there's no FTP allowed, so I have to use the CMS's file manager to upload files one by one). I could FTP the xml files to a different domain I own, but the charts don't seem to work when the xml files are hosted on a different domain.
-
It worked, thanks.
-
Thanks! Since I have to have a programmer make changes to the relayer file (they don't provide access to the php files for security reasons), I just wanted to confirm that the period following the code you added is not a mistake before I ask them to make the change. Can you confirm that for me? Thanks again.
-
Here's the output from debug mode: Info: Chart loaded and initialized. Initial Width: 715 Initial Height: 375 Scale Mode: noScale Debug Mode: Yes Application Message Language: EN Version: 3.1.1 Chart Type: Multi Series 2D Combination Chart Chart Objects: BACKGROUND CANVAS CAPTION SUBCAPTION YAXISNAME XAXISNAME DIVLINES YAXISVALUES HGRID DATALABELS DATAVALUES TRENDLINES TRENDVALUES DATAPLOTCOLUMN DATAPLOTLINE DATAPLOTAREA ANCHORS TOOLTIP VLINES LEGEND VLINELABELS INFO: Chart registered with external script. DOM Id of chart is myChartId INFO: XML Data provided using dataURL method. dataURL provided: /inc/php/relayer.php?XML=http://www.deheer.com/cjdeheercom/stats/data_sfh_median.xml dataURL invoked: /inc/php/relayer.php?XML=http://www.deheer.com/cjdeheercom/stats/data_sfh_median.xml&FCTime=144 ERROR: An error occurred while loading data. Please check your dataURL, by clicking on the "dataURL invoked" link above, to see if it's returing valid XML data. Common causes for error are: No URL Encoding provided for querystrings in dataURL. If your dataURL contains querystrings as parameters, you'll need to URL Encode the same. e.g., Data.asp?id=101&subId=242 should be Data%2Easp%3Fid%3D101%26subId%3D242 Different sub-domain of chart .swf and dataURL. Both need to be same owing to sandbox security. Network error