slaguduv

Members
  • Content count

    7
  • Joined

  • Last visited

Everything posted by slaguduv

  1. Hi, When I try to add datastamp to the realtime chart, am getting error and the chart is not rendering. I am using jsp and servlet for realtime chart implementation. The following is the code snippet, jsp: === myChart.setDataXML("<chart dataStamp='13:43:45' defaultAnimation='1' dataStreamURL='/upm/LiveGraphServlet' refreshInterval='1' setAdaptiveYMin='1' xAxisName='Time' YAxisName='Value in %25' showRealTimeValue='0' realTimeValuePadding='40' labelDisplay='Rotate' slantLabels='0' numberPrefix='' numDisplaySets='30' hoverCapSepChar=' ' anchorScale='0' anchorAlpha='1' xAxisNamePadding='50'><dataset seriesName='CPUUtilization' showValues='0' color='1941A5' lineThickness='2'> </dataset><styles> <definition> <style type='font' name='captionFont' size='14' /> </definition> <application> <apply toObject='Caption' styles='captionFont'/> <apply toObject='Realtimevalue' styles='captionFont'/> </application></styles> </chart>"); servlet; ===== String time = getDisplayTime (new Timestamp (System.currentTimeMillis ())); pw.print ("&name="+time+"&value="+strVal+"&dataStamp=" +time); Error in debug window: ================= " Error in loading stream data: The chart couldn't load data from the specified data stream URL. Error HTTP Status returned was: undefined. Please make sure that your data stream provider page is present in the same sub-domain as the chart. " Without the datastamp, the charts are rendered properly. When I add that am getting the above error. And also I want to know how to retrieve the datastamp in the server side as I couldn't find this in the online documentation. Could anybody tell me what is the error in this implementation or any other change have to do for this and also how to retrieve that in the server side ? Please reply asap. Thanks in advance, slaguduv.
  2. Hi, This is related to cosmetic changes I want to do in FusionCharts. Am using Fusionwidgets for realtime graphs. In the graph, currently x-axis label is displayed below the legend.If I set the showRealTimeValue attribute, then the label is shown above the legend. But I dont want that attribute in the chart. Anybody know how to set the x-axis label to show above the legend ? rgds, slaguduv.
  3. Hi, I have a requirement of changing the y axis name dynamically in real time graph. Is there any way to set this in the dataStreamURL or any alterantive way? Could anyone suggest on this ? Thanks&regards, slaguduv.
  4. Hi, Thanks for your suggestion. I too achieved this in the code itself by sending the chart properties dynamically. regards, slaguduv.
  5. Hi, Thanks Pallav. I tried with replacing by '.' and now its working fine. But this could have been mentioned in the online documentation as there it has been used with the colon in the datastamp. http://www.fusioncharts.com/widgets/Docs/Contents/RealTimeStamp.html If possible please mention that in the documentation. Thanks, slaguduv.
  6. Hi, I have an requirement of sending error message in the dataStreamURL url which should get display in the chart itself instead of displaying the data.It should show only that error message and it can be changing dynamically. Could anybody suggest me of how to achieve this in the realtime charts ?
  7. Hi, Thanks for the reply.I gone through the document and have one more question on that. Is it possible to embed that message with the charts instead of showing in a pop-up window ?