jerrygarciuh

Members
  • Content count

    12
  • Joined

  • Last visited

About jerrygarciuh

  • Rank
    Junior Member

Profile Information

  • Gender
    Not Telling
  • Location
    New Orleans
  1. Padding only shows up when trendline is added

    Thank you for the reply. I will let my employer know he will need a renewed license to upgrade files and fix issue.
  2. This XML has no trendline and the line graph generated ignores the canvasPadding='20' <chart caption='Practice Plan Analysis for David Martin' subcaption='Point Value Playing Game: 2/2/2016 to 6/9/2016' xAxisName='Individual Score Dates' yAxisName='Scores' yAxisMinValue='0' decimals='1' numberPrefix='' showValues='1' rotateLabels='1' slantLabels="1" alternateHGridColor='FCB541' alternateHGridAlpha='20' divLineColor='FCB541' divLineAlpha='50' canvasBorderColor='666666' baseFontColor='666666' lineColor='FCB541' canvasRightMargin='50' canvasLeftMargin='30' canvasPadding='20' exportEnabled="1" exportAtClient="0" exportAction="download" exportHandler='http://www.somesite.com/Charts/ExportHandlers/PHP/index.php' exportFileName="18_Hole_Scoring_Analysis" exportFormats='PDF=Export as PDF'> <set label='4/4/16' value='10' /> <set label='5/2/16' value='-21' /> <set label='5/9/16' value='3' /> <set label='5/16/16' value='-30' /> <set label='5/23/16' value='7' /> <set label='5/30/16' value='-13' /> <set label='6/6/16' value='-15' /> <styles> <definition> <style name='Anim1' type='animation' param='_xscale' start='0' duration='1' /> <style name='Anim2' type='animation' param='_alpha' start='0' duration='0.6' /> <style name='DataShadow' type='Shadow' alpha='40'/> </definition> <application> <apply toObject='DIVLINES' styles='Anim1' /> <apply toObject='HGRID' styles='Anim2' /> <apply toObject='DATALABELS' styles='DataShadow,Anim2' /> </application> </styles> However if I add <trendlines> <line startvalue="-2" color="#1aaf5d" displayvalue="Coach's{br}target{br}score" valueonright="1" thickness="2" /> </trendlines> I get the padding: Can anyone advise as to what I am doing incorrectly? Thank you!
  3. Specifying y-axis label increments

    Hi folks, I know I must be searching on the wrong terms. I know how to use yAxisMaxValue='100' yAxisMinValue='0' to get 5 increments of 20 in the y-axis labels but I would like to be able to force say 20 increments of 5 or 10 increments of 10. How do I specify that? Thanks! JG
  4. Preventing x-axis label wrapping in Line.swf

    Thank you!!
  5. Hi folks, We have a line graph using Line.swf where the x-axis labels are dates like "12-1-09". When you get a lot of dates they start to plot like 12-01-0 9 I tried adding slantLabels="1" to the XML but it had no effect. What would you recommend for solving this? Should I use MSCombi2D.swf and just plot my single line on it and use slantLabels? Thank you for your advice, JG
  6. Dynamic Subcaptions and labels failing to display

    Hi Ayan, Thank you for the reply! I have now added <? header('Content-type: text/xml'); ?> to all of my XML generation pages directly before the output of the script. This has not resolved the disappearing text. I also tried adding static text to the configuration like so: subcaption='x<?=$datePhrase?>' and the X I added shows up by itself and centered even though when the XML is viewed directly the date string is in place and correctly formatted with no illegal characters. I also tried adding ob_start() and ob_flush() at the appropriate spots hoping this would resolve it. I guess my next step will be to write the output to a static file and issue a redirect header to the static file. Have you seen this issue before? JG
  7. Trying to find documentation for FCExporter.php

    Ah I see now, thank you for the reply.
  8. Can someone direct me to this? My searches have not been successful.
  9. Dynamic Subcaptions and labels failing to display

    Thank you for your reply! Here is the code I am using. The fact that the dates are defined in the PHP is evidenced by successful changes to the date range of the displayed data. [ code ] <? include_once("../classDBI/classDBI.php"); $uObj = new User; $rObj = new Round; $uObj->userSession(); $distances = $rObj->field_by_dates($_SESSION['user']->id, 'drivingDistance_avg_per_hole', $_GET['start'], $_GET['end']); if ($_GET['start'] && $_GET['end']) { $datePhrase = date("n-j-y", strtotime($_GET['start'])) . " to " . date("n-j-y", strtotime($_GET['end'])); } ?> <chart caption='Driving Distance' subcaption='<?=$datePhrase?>' xAxisName='<?=$datePhrase?>' yAxisName='Distance' yAxisMinValue='0' numberPrefix='' showValues='1' alternateHGridColor='FCB541' alternateHGridAlpha='20' divLineColor='FCB541' divLineAlpha='50' canvasBorderColor='666666' baseFontColor='666666' lineColor='FCB541' canvasRightMargin='50' > <? if ($distances) { foreach ($distances as $k => $v) { ?> <set label='<?=date("n/j/y", strtotime($k))?>' value='<?=$v?>' /> <? }} ?> <styles> <definition> <style name='Anim1' type='animation' param='_xscale' start='0' duration='1' /> <style name='Anim2' type='animation' param='_alpha' start='0' duration='0.6' /> <style name='DataShadow' type='Shadow' alpha='40'/> </definition> <application> <apply toObject='DIVLINES' styles='Anim1' /> <apply toObject='HGRID' styles='Anim2' /> <apply toObject='DATALABELS' styles='DataShadow,Anim2' /> </application> </styles> </chart> [ /code]
  10. Thank you very much! That solved my problem!
  11. Hello, PHP/mySQL professional but a FusionCharts newbie here. The XML below is what I am sending from PHP/mySQL to the chart. If I manually type subcaption='10-1-09 to 11-10-09' it shows up no problem; same for xAxisName. If I instead use subcaption='<?=$datePhrase?>' xAxisName='<?=$datePhrase?>' then they are not shown at all. If I set $datePhrase to 'xxx' it does not display. If instead of echoing $datePhrase I add xAxisName='<?="xxx"?>' and just echo an uninterpolated string it shows up. What am I doing wrong here? TIA! JG Edit: the bbcode code tags were not displaying so I am trying to replace them <chart caption='Driving Distance' subcaption='10-1-09 to 11-10-09' xAxisName='10-1-09 to 11-10-09' yAxisName='Distance' yAxisMinValue='0' numberPrefix='' showValues='1' alternateHGridColor='FCB541' alternateHGridAlpha='20' divLineColor='FCB541' divLineAlpha='50' canvasBorderColor='666666' baseFontColor='666666' lineColor='FCB541'> <set label='10/24/09' value='139' /> <set label='10/28/09' value='75' /> <set label='11/9/09' value='126' /> <set label='11/4/09' value='280' /> <styles> <definition> <style name='Anim1' type='animation' param='_xscale' start='0' duration='1' /> <style name='Anim2' type='animation' param='_alpha' start='0' duration='0.6' /> <style name='DataShadow' type='Shadow' alpha='40'/> </definition> <application> <apply toObject='DIVLINES' styles='Anim1' /> <apply toObject='HGRID' styles='Anim2' /> <apply toObject='DATALABELS' styles='DataShadow,Anim2' /> </application> </styles> </chart>