ac

Members
  • Content count

    8
  • Joined

  • Last visited

About ac

  • Rank
    Forum Newbie
  1. Doh! Thats the ticket. Exactly what I need.
  2. I have a 2D column chart with many labels.... too many to fit on one screen. Would like to display it vertically, so labels are on the left and columns run horizontally across the page. Like: fooo |||||||||||||||||||||||||||||||||||||||| bar |||||||||||||||||| frobatz |||||||||||||||||||||||||||| etc. Is this supported, if so how? -AC
  3. I would like to have stackedColumn chart that is dynamic - ie, the "stacks" reload with new data periodically ( every few seconds ). I've done dynamic charting with dials and gauges before, but never with a column chart. Can it be done ? I don't want to start down this path if it can't. -AC
  4. chart is empty, why?

    After much trial and error, I narrowed it down to this yAxisMaxValue="Jobs" Obviously, it expects an integer value here.... my bad. But, seriously, there should be better error messages - anything in fact - to point out mistakes like this. I beat my head against the screen for two hours trying to find this problem. -AC
  5. chart is empty, why?

    I see the chart, but its empty. I can't figure out why.... please help. Here's the relevant info.... contents of x.xml:
  6. Stumbled upon the answer myself.... First, you want to inlcude header('Content-type: text/xml'); so you can directly view the xml data in a browser. This showed me I was missing the top level element. So I changed headcount.php to this and it works: <?php echo "<chart caption='Monthly Headcount'>"; echo "<set label='20070101' value='97'/>"; echo "<set label='20070201' value='96'/>"; echo "<set label='20070301' value='103'/>"; echo "<set label='20070401' value='108'/>"; echo "<set label='20070501' value='110'/>"; echo "<set label='20070601' value='115'/>"; echo "<set label='20070701' value='117'/>"; echo "<set label='20070801' value='123'/>"; echo "<set label='20070901' value='122'/>"; echo "</chart>"; ?>
  7. Why can't I do this: .... <chart stuff> &dataURL=headcount.php Where, headcount.php is simply a bunch of php statements that return xml data: <?php echo "<chart caption='Monthly Headcount' >"; echo "<set label='20070701' value='117'/>"; echo "<set label='20070801' value='123'/>"; echo "<set label='20070901' value='122'/>"; echo "</chart>"; ?> If I put this xml data into a file called 'headcount.xml' and change chart to use &dataURL=headcount.xml it works just fine. But I want the xml data to be generated dynamically. Am I missing something here? I need a clue.