catalysis Report post Posted June 29, 2009 Hi, I'm having a problem with the LogMSLine chart dropping zero values and also ignoring YAxisMinValue = '0'. I am quite sure my xml formatting is correct because it plots all other values fine and this works with other charts. Does anyone know how to fix this? Share this post Link to post Share on other sites
Guest Rajroop Report post Posted June 30, 2009 Hello, Welcome to FusionCharts Forum. :exclamation: Could you please send us an attachment with you code snippet so that we may have a look on what might be going wrong? Looking forward to your reply. Share this post Link to post Share on other sites
catalysis Report post Posted June 30, 2009 Well my project uses a somewhat complex SQL query, but I will make a simple example to illustrate the bug. Note that the zero gets dropped and the graph line is broken. categories.Append("<categories> <category label='Jun' /> <category label='Jul' /> <category label='Aug' /> <category label='Sep' />"); values.Append("<dataset seriesname=''> <set value='100' /> <set value='1000' /> <set value='0' /> <set value='1000' />"); categories.Append("</categories>"); values.Append("</dataset>"); //Generate the graph element System.Text.StringBuilder sbXML = new System.Text.StringBuilder(); sbXML.Append("<chart caption='Caption' yAxisName='YAxis' xAxisName='Date' rotateNames='0' showNames='1' showValues='0' decimals='3' lineColor='FCB541'>"); sbXML.Append(categories.ToString()); sbXML.Append(values.ToString()); sbXML.Append("</chart>"); return FusionCharts.RenderChartHTML("../FusionCharts/LogMSLine.swf", "", sbXML.ToString(), sChrtName, "400", "350", false); Share this post Link to post Share on other sites
Rahul Kumar Report post Posted July 1, 2009 Hi Catalysis, I am afraid, the data you are providing to a logarithmic chart is incorrect. In logarithmic scale the data should not be greater than zero not equal to zero, since log of zero is infinity. So if you try again with value='0.01' the chart will come up without any error. Share this post Link to post Share on other sites
Guest Angie Report post Posted January 19, 2011 Dear User, We are delighted to announce that PowerCharts is now ready for your iPads and iPhones too. We have just released PowerCharts v3.2. Starting v3.2, PowerCharts has HighCharts embedded within it, and offers both Flash and JavaScript (HTML5) charting . The Flash charts are displayed on a majority of devices and the JavaScript charts on devices that do not support Flash, all of it without writing a line of code. Automatic rendering of JavaScript charts on devices (like iPad and iPhone) where Flash player is not supported. 5 new chart types: Heat Map Chart Box and Whisker Chart Step Line Chart Error Line Chart Error Scatter Chart * Support for JSON data format. * Support for LinkedCharts, where a single data source controls multiple charts. * Interactive legends in charts allow selective showing/hiding of data series. * Legends now support icons for each data series. * Better management of labels on charts. * Labels now have an auto rendering mode to prevent them from overlapping, the chart selects the best display mode depending on the length of the labels and the width of the chart. * Long labels are truncated, with ellipses appended to the truncated end of each label, and a tooltip bearing the completed label text is displayed when the user hovers over a truncated label. * Support for line breaks and wrapping in all text elements including: caption, sub caption, X-axis title, Y-axis title, Labels and tooltips. * In Line charts, data values can now be positioned either above or below the dataplots. Automatic positioning of data values is also supported. * In Step-line charts dataplots can be joined using vertical lines. * Custom alignment of caption and sub caption using STYLES. * Advanced print management using JavaScript. * Additional options for efficient event handling using JavaScript. * Support for dynamic update of chart properties using JavaScript(barring select scatter and drag charts). * Charts now support % based sizes along with dynamic resizing (barring select scatter and drag charts). Learn more about everything new in PowerCharts v3.2 at : http:/ www.fusioncharts.com/PowerCharts/ We would love to hear from you at: http://www.fusioncharts.com/contact/ Share this post Link to post Share on other sites