knalli
Members-
Content count
9 -
Joined
-
Last visited
About knalli
-
Rank
Forum Newbie
-
How To Handle "empty Chart" / "no Data" Situations Properly
knalli posted a topic in Using FusionWidgets XT
Hi, we use in our application several different charts (of all three libraries: FusionCharts, Widgets, and Power) in dedicated areas or in aggregations like dashboards. Because of generalization, all charts are be configured with parameters like PBarLoadingText, XMLLoadingText, ParsingDataText, ChartNoDataText, RenderingChartText, LoadDataErrorText, InvalidXMLText. This works fine incases of errors, and so on. However, some SWFs -- Widgets like Gauge or Circle -- won't use this but will only render a, well, ugly chart. The x/y axis is bad, sometimes all is grey.. because of a missing value as we render a chart xml without a <value> tag. (Example http://www.fusioncharts.com/demos/gallery/gauges/chart.asp?id=cylinder_9) So, in order to fix this, I would to know what is the best practice (hopefully a common way, otherwise a chart-by-chart way) to fulfill following conditions for custom error messages: 1. If chart data is available, render it. (This work's fine.). 2. If no chart data is available (let's say, i.e., the "current cpu usage" is not available) it should present either only a text box with an error message (perhaps a text string which is provided via the remote xml) or a chart but with an additional, _overlaying_ text box. 3. If the chart is invalid (let's say, i.e., there is no metric "current cpu usage") it should present another text. If the server will return a simple 404 on an error, this would be acceptable in most cases.. but not, if a dashboard construction cannot guarantee that a chart could have be no data (and therefor should be render a custom error message). We generate the xml completely server side which means we have the whole xml generation under control. I tried using annotations but they will be displayed behind the chart (lower z-index). Additionally, they have to be rendered width-independently. Maybe someone has an idea how to archive this..? -
Rendering Problem W/ Mscolumn 3D.swf (Internal Width Too Large)
knalli replied to knalli's topic in Bug Reports
Do you have an update? -
knalli started following Rendering Problem W/ Mscolumn 3D.swf (Internal Width Too Large)
-
Rendering Problem W/ Mscolumn 3D.swf (Internal Width Too Large)
knalli posted a topic in Bug Reports
Hi, we just noticed a small bug with MSColumn3d.swf after upgrading it from 3.2.0 to 3.2.2(XT). It seems that the internal width (area with the columns) seems to be have a width larger than the actual chart. See the attached files: the left yellow column is out of the gray area. For a testcase, use this xml (I grabbed it from the debug window, loaded via xhr). <?xml version="1.0" encoding="UTF-8"?> <chart shownames="1" showvalues="0" showToolTipShadow="1" bgAlpha="40,100" bgAngle="270" showBorder="0" thousandSeparator="." decimalSeparator="," decimals="2" formatNumberScale="1" numberScaleValue="1024,1024,1024,1024" numberScaleUnit="KB,MB,GB,TB" yAxisName="Größe" bgColor="99CCFF,ffffff" canvasBgColor="ffffff,e1f5ff"> <categories> <category label="HLMON_DATA"/> <category label="SYSAUX"/> <category label="SYSTEM"/> <category label="TEMP"/> <category label="UNDOTBS1"/> <category label="USERS"/> </categories> <dataset seriesName="benutzt" showValues="0" hlmonitor-color-name="yellow" color="FFFF00"> <set value="2039545856" toolText="HLMON_DATA{br}1.90 GB/2.10 GB {br}(92.6%)" color="FFFF00"/> <set value="234160128" toolText="SYSAUX{br}223.30 MB/400.00 MB {br}(55.8%)" color="FFFF00"/> <set value="295960576" toolText="SYSTEM{br}282.30 MB/700.00 MB {br}(40.3%)" color="FFFF00"/> <set value="2097152" toolText="TEMP{br}2.00 MB/280.00 MB {br}(.7%)" color="FFFF00"/> <set value="556990464" toolText="UNDOTBS1{br}531.20 MB/1.10 GB {br}(48.3%)" color="FFFF00"/> <set value="1048576" toolText="USERS{br}1.00 MB/100.00 MB {br}(1.0%)" color="FFFF00"/> </dataset> <dataset seriesName="insgesamt" showValues="0" hlmonitor-color-name="blue" color="0026FE"> <set value="2202009600" toolText="HLMON_DATA{br}1.90 GB/2.10 GB {br}(92.6%)"/> <set value="419430400" toolText="SYSAUX{br}223.30 MB/400.00 MB {br}(55.8%)"/> <set value="734003200" toolText="SYSTEM{br}282.30 MB/700.00 MB {br}(40.3%)"/> <set value="293601280" toolText="TEMP{br}2.00 MB/280.00 MB {br}(.7%)"/> <set value="1153433600" toolText="UNDOTBS1{br}531.20 MB/1.10 GB {br}(48.3%)"/> <set value="104857600" toolText="USERS{br}1.00 MB/100.00 MB {br}(1.0%)"/> </dataset> </chart> -
Well.. but what is the technical difference? I don't find a hint if I use "diff" on both html markups. I'm familiar with browser agent or bridges or conditional behaviors - but where is this done? That sounds great! I'd tried to reproduce the html5 version on my local machine (in order to generate a customized chart), but I failed. As I said, perhaps I'd missed something. I would retry the steps with the updated version tomorrow.
-
Ok, first of all: This is a very nice demo, thx for the beta. I've got some questions about the (planned) details. 1) What is the actual difference between http://www.fusioncharts.com/labs/peek/html5basic/'>http://www.fusioncharts.com/labs/peek/html5basic/ and http://www.fusioncharts.com/labs/peek/html5 in detail? After a diff there is no other javascript or html markup (except the paragraph)? How do you handle this? I don't get it. :| 2) Unless I missed some big thing: It seems your current beta, so called "html5", based on the javascript framework HighCharts which looks.. wow. Do you plan to configure HighCharts to look like FusionCharts (hci.js) or is there something like a swf-to-svg thing in background? 3) What kind of relationship with HighCharts do you have? I mean: Is that "you" but just another company? Must I pay an additional HighCharts license (if I need a FusionCharts one)? Or is that all "built-in"? 4) Because I could not getting the "thing to work" locally (I'd grabbed the sources of the demo to a local server): Will other SWFs work? What is about your other products PowerCharts and Widgets - e.g. the "non-charts" Gauge-Graphs? == About FusionCharts 3.2 itself: I've noticed the tiny change of the columns bars' legend icon (good). And, the hide/show onclick selector on the legend's items. Is this feature only in the columns flash? I've tested multi axis - the legend is like the 3.1 ones.
-
Automatically Save the Chart as an Image file and ...
knalli replied to VenkyP's topic in General usage
Hi, I've run into the same issue: Is there a possibility to generate higher quality images for printing, e.g. 300dpi? -
Hi, I've figured out some issues with extjs/event handling (e.g. no data to display) while extracting the problem to a standalone example. Next week I should post some details. Thank you for you quick responses. I was already at your booth yesterday - nice to meet you
-
Do you mean an entire, standalone proof/test case? Or just the xml?
-
Hi, my current problem is that no special defined "chart messages" are displayed while loading the chart (or after an error happened, and so on). Well, actually no valid chart messages are displayed. In my opinion, this have to be an javascript issue and/or "miss-placed config options". In my understanding the new messages should be only a bunch of url parameters... that is correct? I append you two images: The first image shows the problem while the process loads data, the second one shows the actual DOM (in this example by WebInspector, but the issue is "cross browser" so it does not matter).