RMG_85

Members
  • Content count

    24
  • Joined

  • Last visited

Posts posted by RMG_85


  1. What if I have inserted my chart into the page using JavaScript like this:

     

    <script type="text/javascript">

    FusionCharts._fallbackJSChartWhenNoFlash(); var strXML = "<chart showValues='0' bgAlpha='100' bgColor='FFFFFF' showBorder='0' chartLeftMargin='10' chartRightMargin='20' chartTopMargin='10' chartBottomMargin='10' outCnvbaseFont='Trebuchet MS' outCnvBaseFontSize='12' outCnvbaseFontColor='000000' baseFontColor='000000' useRoundEdges='1' canvasbgAlpha='50' legendBgAlpha='70' showPercentageValues='0' showPercentInToolTip='0' inThousandSeparator=',' formatNumberScale='0' showLabels='1' enableSmartLabels='1' decimals='1' canvasBorderAlpha='30' xAxisName='Month' yAxisName='Number of accounts' caption='Total Accounts' imageSave='1' imageSaveURL='/Common/Handlers/FusionChartImageSave_v3.ashx'><categories><category label='Apr 2011' /><category label='May 2011' /><category label='Jun 2011' /></categories><dataset seriesName='YouTube' color='ff3333' alpha='100'><set value='640' /><set value='594' /><set value='601' /></dataset><dataset seriesName='Facebook' color='3b5998' alpha='100'><set value='68' /><set value='112' /><set value='127' /></dataset><dataset seriesName='Twitter' color='5599bb' alpha='100'><set value='875' /><set value='2538' /><set value='2832' /></dataset><styles><definition><style name='captionFont' type='font' font='Arial' size='12' color='000000' bold='1' letterSpacing='1' /></definition><application><apply toObject='Caption' styles='captionFont' /><apply toObject='subCaption' styles='captionFont' /></application></styles></chart>"; var myChart = new FusionCharts("MSLine.swf","pnlChartContainer_chart", "450", "300", "0", "0"); myChart.setXMLData(strXML); myChart.render("pnlChartContainer"); </script>

     

    And the user does not have flash installed? I have tried many things, including calling the following on postback with the updated strXML

     

    myChart.setXMLData(strXML); myChart.render("pnlChartContainer");

     

    But of all the different ways I have tried, either no graph displays or it displays but with the old XML data, even though the XML in the page has been updated. How do I do the AJAX update when the chart has been rendered in this way?


  2. Okay, here is my chart XML:

     

    <chart showValues='0' bgAlpha='100' bgColor='FFFFFF' showBorder='0' chartLeftMargin='10' chartRightMargin='20' chartTopMargin='10' chartBottomMargin='10' outCnvbaseFont='Trebuchet MS' outCnvBaseFontSize='12' outCnvbaseFontColor='000000' baseFontColor='000000' useRoundEdges='1' canvasbgAlpha='50' legendBgAlpha='70' showPercentageValues='0' showToolTip='0' inThousandSeparator=',' formatNumberScale='0' showLabels='1' enableSmartLabels='1' decimals='1' canvasBorderAlpha='30' showLegend='0' yAxisName='Score' imageSave='1' imageSaveURL='/Sociview/Common/Handlers/FusionChartImageSave_v3.ashx'><categories><category label='Jan' x='1' showVerticalLine='1' /><category label='Feb' x='2' showVerticalLine='1' /><category label='Mar' x='3' showVerticalLine='1' /><category label='Apr' x='4' showVerticalLine='1' /><category label='May' x='5' showVerticalLine='1' /><category label='Jun' x='6' showVerticalLine='1' /></categories><dataset drawLine='1' seriesName='Values'><set x='5.77' y='20' /><set x='5.87' y='20' /></dataset><styles><definition><style name='captionFont' type='font' font='Arial' size='12' color='000000' bold='1' letterSpacing='1' /></definition><application><apply toObject='Caption' styles='captionFont' /><apply toObject='subCaption' styles='captionFont' /></application></styles></chart>
    

     

    And attached is an image of the chart it is generating. Please can you explain why your graph shows all the month labels but mine does not? What setting makes all the months display?

    post-16588-087009900 1306941807_thumb.png


  3. XML is as follows:

     

    <chart showValues='0' bgAlpha='100' bgColor='FFFFFF' showBorder='0' chartLeftMargin='10' chartRightMargin='20' chartTopMargin='10' chartBottomMargin='10' outCnvbaseFont='Trebuchet MS' outCnvBaseFontSize='12' outCnvbaseFontColor='000000' baseFontColor='000000' useRoundEdges='1' canvasbgAlpha='50' legendBgAlpha='70' showPercentageValues='0' showPercentInToolTip='0' inThousandSeparator=',' formatNumberScale='0' showLabels='1' enableSmartLabels='1' decimals='1' canvasBorderAlpha='30' interactiveLegend='1' yAxisName='Sentiment' caption='Sentiment History' imageSave='1' imageSaveURL='/Sociview/Common/Handlers/FusionChartImageSave_v3.ashx'><categories><category label='May 2011' /></categories><dataset seriesName='Twitter'><set value='53' /></dataset><dataset seriesName='Facebook'><set value='57' /></dataset><dataset seriesName='YouTube'><set value='56' /></dataset><styles><definition><style name='captionFont' type='font' font='Arial' size='12' color='000000' bold='1' letterSpacing='1' /></definition><application><apply toObject='Caption' styles='captionFont' /><apply toObject='subCaption' styles='captionFont' /></application></styles></chart>
    


  4. Please see attached screenshot - this is an example scatter chart I built, showing X-axis labels. The XML is as follows:

     

    <chart showValues='1' bgAlpha='100' bgColor='FFFFFF' showBorder='1' chartLeftMargin='10' chartRightMargin='20' chartTopMargin='10' chartBottomMargin='10' outCnvbaseFont='Trebuchet MS' outCnvBaseFontSize='12' outCnvbaseFontColor='000000' baseFontColor='000000' useRoundEdges='1' canvasbgAlpha='50' legendBgAlpha='70' imageSave='1' imageSaveURL='/VolumeChartingExample/Common/Handlers/FusionChartImageSave_v3.ashx'><categories><category label='Apr' x='1' showVerticalLine='1' /><category label='May' x='2' showVerticalLine='1' /><category label='Jun' x='3' showVerticalLine='1' /></categories><dataset drawLine='1' seriesName='1'><set x='0.5' y='10' /><set x='2.5' y='15' /></dataset><dataset drawLine='1' seriesName='2'><set x='1.5' y='30' /><set x='3.5' y='20' /></dataset><styles><definition><style name='captionFont' type='font' font='Arial' size='12' color='000000' bold='1' letterSpacing='1' /></definition><application><apply toObject='Caption' styles='captionFont' /><apply toObject='subCaption' styles='captionFont' /></application></styles></chart>

     

    So if scatter chart does not display X-axis labels, why does this scatter chart displays labels? And why does the the first XML I posted not display labels?

    post-16588-032742100 1306396796_thumb.png


  5. Hi,

     

    I have a scatter chart but the x-axis labels are not displaying. Here is the xml:

     

    <chart showValues='0' bgAlpha='100' bgColor='FFFFFF' showBorder='0' chartLeftMargin='10' chartRightMargin='20' chartTopMargin='10' chartBottomMargin='10' outCnvbaseFont='Trebuchet MS' outCnvBaseFontSize='12' outCnvbaseFontColor='000000' baseFontColor='000000' useRoundEdges='1' canvasbgAlpha='50' legendBgAlpha='70' showPercentageValues='0' showToolTip='0' inThousandSeparator=',' formatNumberScale='0' showLabels='1' enableSmartLabels='1' decimals='1' canvasBorderAlpha='30' xAxisName='Time' yAxisName='Score' imageSave='1' imageSaveURL='/Sociview/Common/Handlers/FusionChartImageSave_v3.ashx'><categories><category label='Dec' x='1' showVerticalLine='1' /><category label='Jan' x='2' showVerticalLine='1' /><category label='Feb' x='3' showVerticalLine='1' /><category label='Mar' x='4' showVerticalLine='1' /><category label='Apr' x='5' showVerticalLine='1' /><category label='May' x='6' showVerticalLine='1' /></categories><dataset drawLine='1' seriesName='Values'><set x='6.63' y='61' /><set x='6.67' y='61' /><set x='6.7' y='61' /><set x='6.73' y='61' /><set x='6.77' y='61' /><set x='6.8' y='61' /></dataset><styles><definition><style name='captionFont' type='font' font='Arial' size='12' color='000000' bold='1' letterSpacing='1' /></definition><application><apply toObject='Caption' styles='captionFont' /><apply toObject='subCaption' styles='captionFont' /></application></styles></chart>

     

    Please could you let me know if I'm missing something?

     

    Thanks.


  6. Right. Attached is a screenshot of the javascript version of the charts.

     

    Surely I must be using the licenced version of the javascript charts because I am able to turn off the credits display when I force the charts to render as javascript (not as fallback), I just don't know how to turn off the credits when they are being used as a fallback.

    post-16588-083741800 1306313997_thumb.png


  7. Sorry, that's not what I meant. I know how to use the javascript charts as a fallback, and I know how to remove the highcharts credits, but I cannot work out how to make BOTH theses things work at the same time. In other words, when the fallback charts are used I want to make sure the credits doesn't display.


  8. Hello there,

     

    I want to turn off the 'credits' link that displays on the JavaScript version charts. I found instrctions on how to do that at the following URL:

     

    http://www.highcharts.com/ref/#credits

     

    When I force the charts to render in JavaScript, I can successfully add in JavaScript in to turn off the credits.

     

    However, I run into a problem when I specify that JavaScript should be used as a fallback only. I cannot figure out how to specify both that JavaScript should be used as a fallback when Flash is not available, and ALSO ensure that the JavaScript graphs don't display the credits link. I can only seem to get one or the other condition working, never both at the same time.

     

    Any help would be much appreciated.


  9. Hello,

     

    I have a number of charts on my web page, with both the Flash and the JS versions working perfectly. However, one of my charts displays in Flash, but in JS mode says "chart has no javascript fallback". I'm not sure why this is happening, as it is a SingleSeries Bar2D chart. Here is the javasacript for it:

     

    <script type="text/javascript"> <!-- FusionCharts.setCurrentRenderer('javascript'); var strXML = "<chart showValues='0' bgAlpha='100' bgColor='FFFFFF' showBorder='0' chartLeftMargin='10' chartRightMargin='25' chartTopMargin='10' chartBottomMargin='10' outCnvbaseFont='Trebuchet MS' outCnvBaseFontSize='11' outCnvbaseFontColor='000000' baseFontColor='000000' useRoundEdges='0' canvasbgAlpha='50' legendBgAlpha='70' showPercentageValues='0' showPercentInToolTip='0' inThousandSeparator=',' formatNumberScale='0' showLabels='1' borderColor='#474747' decimals='0' animation='1' canvasBorderAlpha='30' canvasBgColor='FFFFFF' canvasBgAlpha='0' divLineAlpha='50' showYAxisValues='1' showAlternateVGridColor='0' outCnvBaseFont='Trebuchet MS' outCnvBaseFontColor='#474747' plotSpacePercent='50' showShadow='0' plotFillAlpha='90' plotGradientColor='F6F6F6' plotBorderColor='7A7A7A' imageSave='1' imageSaveURL='/Common/Handlers/FusionChartImageSave_v3.ashx'><set label='Official' value='81' link='/Main/Reports/QuickStats.aspx?classification=Official%2526socialplatform=1' /><set label='Unofficial' value='1199' link='/Main/Reports/QuickStats.aspx?classification=Unofficial%2526socialplatform=1' /><set label='Endorsed' value='28' link='/Main/Reports/QuickStats.aspx?classification=Endorsed%2526socialplatform=1' /><set label='Other' value='25' link='/Main/Reports/QuickStats.aspx?classification=Other%2526socialplatform=1' /><styles><definition><style name='captionFont' type='font' font='Arial' size='12' color='000000' bold='1' letterSpacing='1' /></definition><application><apply toObject='Caption' styles='captionFont' /><apply toObject='subCaption' styles='captionFont' /></application></styles></chart>"; var myChart = new FusionCharts("/Common/Flash/FusionCharts_v3/bar2D.swf","ctl00_cphPlaceholder_smAccountClassificationChart1_pnlChartContainer_chart" , "300", "120", "0", "0"); myChart.setXMLData(strXML); myChart.render("ctl00_cphPlaceholder_smAccountClassificationChart1_pnlChartContainer"); // --> </script>

     

    Any help would be much appreciated.