Jesús

Members
  • Content count

    50
  • Joined

  • Last visited

Everything posted by Jesús

  1. Hi there!! I am testing the linked charts but i can not be able to get the desire result. Here is the thing: I created a MSCombiDY2D chart, and I have generated the data with a mysql query, then and just for testing, I applied the example from your web (Home > FusionCharts XT Data Formats > XML > LinkedCharts XML), and the string data was set like in the attached text. The chart is rendering correctly, but when I click on the colum to get next chart it doesn't work, and it says "No data to display". Please guide me to use correctly this method. Regars !!
  2. Linked Chart with Data String Method

    I reviewed your last comments and I did the change that you told me. Finally It works correctly. I'm thankful for all your support. Regards !!
  3. Linked Chart with Data String Method

    My dear friend, I tried to pass the array of drill-down chart objects. But It didn't work, can you guide me to use this option? Or if you can see an error that I passed away I'll be thankfull that you help me. This is my source code: https://gist.github.com/anonymous/c26a2e4a4d5847d50d02 Regards !!
  4. Linked Chart with Data String Method

    Hi Sashibhusan, I resolved correctly the trouble with the chart styles, and it is plotting very fine. Now I have a question with the configureLink() function, I created the data that I want to plot and I think that they have the correct format, I've plotted correctly the first level but I could not be able to plot the second level. Could you help me to configure correctly the configureLink() function? FusionCharts("resumen_txn").configureLink ( { swfUrl : "charts/Line.swf", // Specify the chart type overlayButton:{ message: ' Cerrar ', font : 'Tauri', fontColor : 'ffffff', fontSize : '13', bold : '0', padding : '5', bgColor:'b90000', borderColor: 'b90000' } },0 ); // The first drill-down level is 0 (zero) My sourcecode is a little long, so here it is a link to have a view of it: https://gist.github.com/anonymous/e2c833b6ecb394a63615 Regards !!
  5. Linked Chart with Data String Method

    Hi Sashibhusan, I read your last information and it was useful, thanks a lot. It works fine with my data querys, at last, I tried to aply styles, canvas color, div lines color, etc etc, but they did not work, so i would like to know wich Functional Attributes or Chart Cosmetics works with this method? Regards !!
  6. Linked Chart with Data String Method

    Hi Sashibhusan, I saw your example and i think that it can help me a lot, is it possible to implement this example without javascript? If it is posile, how can I do it? Thanks !!
  7. Linked Chart with Data String Method

    Hi Sashibhusan, Thanks for your answer, I want to share with you the file content that i'm not attached in my las post, meanwhile i'll read the information that you send me. One more thing, do you have an example from configureLink() with data string method? Regards !! <script type="text/javascript" ><!-- // Instantiate the Chart var chart_chart01 = new FusionCharts( { "swfUrl" : "charts/MSCombiDY2D.swf", "width" : "1000", "height" : "500", "renderAt" : "chart01Div", "dataFormat" : "xml", "id" : "chart01", "wMode" : "opaque", "dataSource" : "<chart bgColor='ffffff' bgAlpha='100' showBorder='1' borderColor='ffffff' borderThickness='0' canvasBgColor='ffffff' canvasBgAlpha='100' canvasBorderColor='000000' canvasBorderThickness='1' canvasBorderAlpha='100' logoURL='images/corner.jpg' logoAlpha='100' logoPosition='TL' caption='Total de Transacciones por Año' subCaption= 'información al Lunes, 20 de Enero de 2014' PYAxisName='Millones de Transacciones' SYAxisName='Incremento Porcentual' xAxisName='Años' useRoundEdges='1' plotSpacePercent='65' sNumberSuffix='%' lineColor='B90000' labelDisplay='auto' showToolTip='1' toolTipBgColor='B90000' toolTipBorderColor='990000' toolTipSepChar=' / ' showToolTipShadow='1' showValues='0' rotateValues='1' baseFont='Tauri' baseFontSize='12' baseFontColor='000000' outCnvBaseFont='Tauri' outCnvBaseFontSize='12' outCnvBaseFontColor='000000' adjustDiv='0' divLineColor='990000' divLineThickness='1' divLineAlpha='20' divLineIsDashed='1' divLineDashLen='6' divLineDashGap='3' chartLeftMargin='5' chartRightMargin='5' chartTopMargin='5' chartBottomMargin='5' captionPadding='5' xAxisNamePadding='5' yAxisNamePadding='5' yAxisValuesPadding='5' labelPadding='5' valuePadding='5' canvasPadding='8' formatNumberScale='0' setAdaptiveYMin='1' centerYaxisName='1'> <categories> <category label='2011' /><vLine linePosition='0' color='990000' alpha='20' dashed='1' dashLen='6'/> <category label='2012' /><vLine linePosition='0' color='990000' alpha='20' dashed='1' dashLen='6'/> <category label='2013' /><vLine linePosition='0' color='990000' alpha='20' dashed='1' dashLen='6'/> <category label='2014' /><vLine linePosition='0' color='990000' alpha='20' dashed='1' dashLen='6'/> </categories> <dataset seriesName='Transacciones' color='ebebeb'> <set value='1382752276' link='newchart-xml-2004-quarterly' /> <set value='1708053302' link='newchart-xml-2004-quarterly' /> <set value='1932360888' link='newchart-xml-2004-quarterly' /> <set value='107777498' link='newchart-xml-2004-quarterly' /> </dataset> <dataset seriesName='Incremento Anual' parentYAxis='S' renderAs='Line' anchorRadius='4' lineThickness='3'> <set value='21.88' link='newchart-xml-2004-quarterly'/> <set value='23.53' link='newchart-xml-2004-quarterly'/> <set value='13.13' link='newchart-xml-2004-quarterly'/> <set value='-94.42' link='newchart-xml-2004-quarterly'/> </dataset> <styles> <definition> <style name='CFontStyle' type='font' font='Trebuchet MS' size='15' color='000000' bold='0'/> <style name='SCFontStyle' type='font' font='Tauri' size='12' color='000000' bold='0'/> <style name='TTFontStyle' type='font' font='Tauri' size='11' color='FFFFFF' /> <style name='YAFontStyle' type='font' font='Tauri' size='13' color='000000' bold='0' /> <style name='XAFontStyle' type='font' font='Tauri' size='13' color='000000' bold='0' /> </definition> <application> <apply toObject='Caption' styles='CFontStyle' /> <apply toObject='subCaption' styles='SCFontStyle' /> <apply toObject='Tooltip' styles='TTFontStyle' /> <apply toObject='YAxisName' styles='YAFontStyle' /> <apply toObject='XAxisName' styles='XAFontStyle' /> </application> </styles> <linkeddata id='2004-quarterly'> <chart caption='Quarterly Sales Summary' subcaption='For the year 2004' xAxisName='Quarter' yAxisName='Sales' > <set label='Q1' value='3700' /> <set label='Q2' value='2900' /> <set label='Q3' value='3200' /> <set label='Q4' value='3900' /> </chart> </linkeddata> </chart>" } ).render(); // --></script>
  8. Chart Preloader

    Hi there!! I would like to add a presonal preloader while the chart is loading, is this posible?? How can i do it ?? Thanks !!
  9. How To Pass Chart Settings

    Hi Sweep, Let me help you. If you want to show an image background you should set the bgAlpha param to 100, or greater than 0, the bgAlpha is like a gradient on the image, so you are disappearing the image settig the param with 0. The canvasPadding parameter refers to the separation between the layer where you draw the graph and the lines that are drawn into this layer. Look the documentation in this site to understand me, this is the path: Support > Documentation > FusionCharts XT > Quick Chart Configuration > Chart Paddings & Margins And finally try this example that i've wrote for you. I hope that this can help you. Greetings!! example.zip
  10. Chart Preloader

    Thanks a lot !! But im using the data string method with php, how can implement your example in the next scrip?? mapa.php
  11. Hi there!! I trying to develop a new view for an statistic site that I'm building in PHP and MySQL. At present, I have used the dataStr method, but I would like to use the jQuery plugin in order to introduce a new functionality. I want to have a form in HTML, then launch a query and get the information, finally plot the chart, this actions without refresh the page. Is it possible ?? Do you have an example with this functionality ?? I'll appreciate your help.
  12. Customize Tooltip

    Hi there!! Im working with Bullet Graphs, and i trying to customize the tooltip because I want to show the date. First, I have a query to get the information, and then i would like to integrate the date like in liner charts. I share my source code i hope that you can help me... <?php $qAnio_Ind = $qAnio."-*"; $qAnioA_Ind = $qAnioA."-*"; $strXML="<chart caption='ATM Nacional' subcaption='Días record' showValue='1' showBorder='0' chartTopMargin='50' plotFillColor='CC0000' targetThickness='7' >"; $strMin = "SELECT TXTOT AS TXNS FROM `tbpdata` WHERE FECHA REGEXP '$qAnio_Ind' AND PROD = 'ATM' AND AMBT = 'NACI' ORDER BY TXNS ASC LIMIT 1"; $resultMin = mysql_query($strMin) or die(mysql_error()); $datoMin = mysql_fetch_array($resultMin); $Min = $datoMin['TXNS']; mysql_free_result($resultMin); $strValue = "SELECT DATE_FORMAT(FECHA,'%d-%b-%Y') AS FECHA, TXTOT AS TXNS FROM `tbpdata` WHERE FECHA REGEXP '$qAnio_Ind' AND PROD = 'ATM' AND AMBT = 'NACI' ORDER BY TXNS DESC LIMIT 1"; $resultValue = mysql_query($strValue) or die(mysql_error()); $datoValue = mysql_fetch_array($resultValue); $value = $datoValue['TXNS']; mysql_free_result($resultValue); $strTarget = "SELECT DATE_FORMAT(FECHA,'%d-%b-%Y') AS FECHA, TXTOT AS TXNS FROM `tbpdata` WHERE FECHA REGEXP '$qAnioA_Ind' AND PROD = 'ATM' AND AMBT = 'NACI' ORDER BY TXNS DESC LIMIT 1"; $resultTarget = mysql_query($strTarget) or die(mysql_error()); $datoTarget = mysql_fetch_array($resultTarget); $target = $datoTarget['TXNS']; mysql_free_result($resultTarget); $Max = $value + 500000; $strXML.="<colorRange> <color minValue='".$Min."' maxValue='".$target."' code='A6A6A6'/> <color minValue='".$target."' maxValue='".$Max."' code='E1E1E1'/> </colorRange> <value>".$value."</value> <target>".$target."</target> <styles> <definition> <style name='CFontStyle' type='font' font='Calibri' size='13' color='000000' bold='1'/> <style name='SCFontStyle' type='font' font='Calibri' size='11' color='000000' bold='1'/> </definition> <application> <apply toObject='caption' styles='CFontStyle' /> <apply toObject='subcaption' styles='SCFontStyle' /> </application> </styles> </chart>"; ?> <span align="center" style="display:inline-block;"> <?php echo renderChart("charts/VBullet.swf", "", $strXML, "chart06", "130", "400", "0", "0" );?> </span>
  13. Customize Tooltip

    Hi Bindhu!! Thanks for answer, do you have any alternative to show the date?? Because this is important info to analyze the bullet chart. Thanks for your help.
  14. Hi there!! I would like to know if Scroll Line Chart supports Vertical Trend Lines. Like in the next example: <vTrendlines> <line startIndex='5' displayValue='Trend 1' displayAlways='1'/> </vTrendlines> If it is not posible, how can i plot a line like vertical trend line in the chart???
  15. Hi there ! Where can I find information to develop an algorithmic chart ??
  16. Hi there !! There's something that I would like to know, how can i retrieve data to a linear gauge like in a realtime chart? this is because i want to refresh the shown value in the linear gauge in a stablished time period. Thanks for your help !!
  17. Information About Algorithmic Chart

    Thanks for the information !! Could i use logarithmic scales in real time charts ??
  18. Hi there, I've created a little page to show some graphs, but when i open the url with my iphone, it shows an error that says "Invalid Data", but this site is displayed correctly in a regular browser. I attached an image, i hope that somebody could help me.
  19. Information About Algorithmic Chart

    Im sorry i mean logarithmic chart !!!
  20. Fusion Chart On Iphone

    Thanks a lot !!
  21. Fusion Chart On Iphone

    Hi there !! It works !! Thanks a lot, just one more question with the export hardler, is it supported in iphone browser ?? Because i just can see the name of the div. And again thanks a lot.
  22. Fusion Chart On Iphone

    Sure, here it is the xml <div id="PROSATBPSDiv"> Chart </div><script type="text/javascript" ><!-- // Instantiate the Chart var chart_PROSATBPS = new FusionCharts( { "swfUrl" : "charts/MultiAxisLine.swf", "width" : "1200", "height" : "639", "renderAt" : "PROSATBPSDiv", "dataFormat" : "xml", "id" : "PROSATBPS", "wMode" : "opaque", "dataSource" : "<chart bgColor='FFFFFF' showBorder='1' borderColor='000000' borderThickness='2' borderAlpha='20' canvasBgColor='E0E0E0' canvasBgAlpha='80' canvasBorderColor='E0E0E0' canvasBorderThickness='2' canvasBorderAlpha='80' logoURL='images/prosa_logo.png' logoAlpha='20' logoPosition='CC' caption='INCREMENTO PORCENTUAL' subcaption='al 2012-06-21' xAxisName='Fecha' labelDisplay='Rotate' labelStep='1' toolTipBgColor='FFFFFF' outCnvBaseFont='Calibri' outCnvBaseFontSize='11' outCnvBaseFontColor='000000' baseFont='Calibri' baseFontSize='13' baseFontColor='333333' adjustDiv='0' divLineColor='A80329' divLineThickness='1' divLineAlpha='50' divLineIsDashed='1' divLineDashLen='6' divLineDashGap='3' lineThickness='2' chartLeftMargin='15' chartRightMargin='15' chartTopMargin='15' chartBottomMargin='15' captionPadding='5' xAxisNamePadding='5' yAxisNamePadding='5' yAxisValuesPadding='5' labelPadding='5' valuePadding='5' canvasPadding='8' formatNumber='1' setAdaptiveYMin='1' centerYaxisName='1' adjustDiv='1' showExportDataMenuItem='1' exportDataMenuItemLabel='Copiar datos como CSV' exportEnabled='1' exportAtClient='1' exportHandler='fcExporter1' exportFormats='PDF=Guardar como PDF|PNG=Guardar como PNG|JPG=Guardar como JPG' exportDialogMessage = 'Exportando datos: '><categories><category label='01-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='02-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='03-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='04-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='05-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='06-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='07-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='08-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='09-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='10-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='11-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='12-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='13-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='14-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='15-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='16-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='17-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='18-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='19-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='20-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><category label='21-06'/> <vLine linePosition='0' color='A80329' alpha='20' dashed='1' dashLen='6'/><vLine linePosition='0'/> </categories><axis title='TXNS 2012' titlePos='left' tickWidth='10' divlineisdashed='1' formatNumberScale='0' setAdaptiveYMin='1' color='d02727'><dataset seriesName='2012' showValues='0' anchorRadius='3'><set value='5881851'/> <set value='11301222'/> <set value='15752150'/> <set value='19951535'/> <set value='24200223'/> <set value='28131423'/> <set value='32273593'/> <set value='37270037'/> <set value='42216239'/> <set value='46234277'/> <set value='50143406'/> <set value='54125988'/> <set value='58174786'/> <set value='63044959'/> <set value='68967632'/> <set value='74614271'/> <set value='78944567'/> <set value='82964082'/> <set value='86911577'/> <set value='90798597'/> <set value='94895955'/> </dataset><dataset seriesName='2011' showValues='0' anchorRadius='3' color='1144AA'><set value='3737993' /> <set value='7213386' /> <set value='10989305' /> <set value='14876287' /> <set value='18188736' /> <set value='21347186' /> <set value='24374571' /> <set value='27406441' /> <set value='30520780' /> <set value='34818381' /> <set value='39015973' /> <set value='42338362' /> <set value='45857299' /> <set value='49801125' /> <set value='54291141' /> <set value='58468783' /> <set value='63251586' /> <set value='67633292' /> <set value='71252412' /> <set value='74763594' /> <set value='78225661' /> </dataset></axis><axis title='Incremento porcentual' titlePos='right' axisOnLeft='0' tickWidth='20' divlineisdashed='1' numberSuffix='%' color='00CC00'><dataset seriesName='Incremento %' drawAnchors='1' showValues='0' anchorSides='4' anchorRadius='4'><set value='57.35' /> <set value='56.67' /> <set value='43.34' /> <set value='34.12' /> <set value='33.05' /> <set value='31.78' /> <set value='32.41' /> <set value='35.99' /> <set value='38.32' /> <set value='32.79' /> <set value='28.52' /> <set value='27.84' /> <set value='26.86' /> <set value='26.59' /> <set value='27.03' /> <set value='27.61' /> <set value='24.81' /> <set value='22.67' /> <set value='21.98' /> <set value='21.45' /> <set value='21.31' /> </dataset> </axis></chart>" } ).render();// --></script><!-- END Script Block for Chart PROSATBPS -->
  23. Hi there, Im new using Fusion Widgets and i want to create a Real-time line chart, my question is: Does anybody has an example to create a real time chart using xml? I mean, i have to use a data provider but i would like to build this provider using php, is this possible?? if this is right, how can i build it? thanks !!
  24. Help With Real-Time Line Chart

    Hi there !! Thanks for your example. I've created the chart succesfully. Now i have a new question. I'm retrieving data from a SQL database and i charting them correctly, but i would like to subtract the new query result, i mean if i have this results: 01:45 - 356190 01:46 - 357200 01:47 - 358210 01:48 - 359220 01:49 - 360230 01:50 - 361240 01:51 - 362351 01:52 - 363361 01:54 - 364371 01:55 - 365381 01:55 - 366391 01:56 - 367300 01:58 - 368310 I want to plot something like this: 01:45 - 356190 01:46 - 1010 01:47 - 1010 01:48 - 1010 01:49 - 1010 01:50 - 1010 01:51 - 1111 01:52 - 1010 01:54 - 1010 01:55 - 1010 01:55 - 1010 01:56 - 909 01:58 - 1010 I mean if i have a query result, the next point to chart will be the arithmetic difference between the first quey result and the second query result. Do you know how can i make it ??
  25. Help With Real-Time Line Chart

    Thanks a lot !!!