gludington

Members
  • Content count

    24
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by gludington

  1. I would like to request the ability in fusioncharts to specify a min/max axis values that do *NOT* encompass all data sets, but rather draw the chart inside those values, and allow data to exist (perhaps with some manner of notation) outside the visible chart area. See this topic: http://forum.fusioncharts.com/topic/11967-graphing-outliers-and-yaxismaxvalue/page__p__47024__hl__outlier__fromsearch__1#entry47024 The reason for this request is that statistical outliers can render the bulk of the chart unusable for visual inspection of the data. This is a common occurrence, for example, when monitoring the performance of a system whose values cluster around a certain range, but which occasionally spikes well outside of that range. Since fusioncharts automatically expands to encompass all data, the inclusion of the spikes expands the axis so much that it is impossible to distinguish any nuance in the bulk of the data. As a workaround, we can cap the values themselves, but that presents a misleading set of data to the user; it would be much better if FusionCharts could allow strict specification of the visual axis, draw the chart accordingly, allowing some data to fall off the visual area, preferable with some available attributes to specify display options relevant to those outliers.
  2. The forums indicate that yAxisMaxValue has absolutely no effect if any data exceeds the maximum value. How, then, does one graph series data when there may be an anomalous point well outside the normal range. This occurs quite often with our charts monitoring equipment usage, where a burst of activity will far exceed the normal day-to-day usage. Fusion Charts forces the chart to encompass even the anomalous point, which renders the other 99% of the chart useless, as the rest of the series clumped visually too closely to distinguish. We need way to show the graph centered around the bulk of the data, and allow that anomalous point to exist off the chart. (We cannot adjust the data, as that gives an inaccurate picture to the client, and in testing does not look right visually, even with anchorRadius="0".) How can this be accomplished in FusionCharts? Thank you, Greg
  3. I am using the JS events to make other things happen on my page in response to chart events, but events are firing inconsistently. First, using setDataURL: Initial Successful Chart Draw: - DataLoadRequested - DataLoadRequestCompleted - BeforeDataUpdate - DataLoaded - DrawComplete setDataURL() called a second time: - DataLoaded - BeforeDataUpdate - DrawComplete Iniital Failed Chart Draw using setDataURL(): - DataLoadRequested - DataLoadError setDataURL() called a second time: - NO EVENTS ARE FIRED AT ALL So when we call setDataURL() a second, third, fourth, etc time, we *never* fire the pre-request events such as DataLoadRequested, or any error events. This makes it impossible to have a page respond to fusioncharts events. Using setXMLUrl() is different, but still fails: Initial Successful Chart Draw: - DataLoadRequestCompleted - BeforeDataUpdate - DataLoaded - DrawComplete setXMLUrl() called a second time: - DataLoadRequested - DataLoadRequestCompleted - BeforeDataUpdate - DataLoaded - DrawComplete Initial Failed chart Draw using setXMLUrl() - DataLoadRequested - DataLoadRequestCompleted - BeforeDataUpdate - DataLoaded - DrawComplete - NoDataToDisplay Here, we have the opposite problem -- DataLoadRequested is usually not fired on the *first* draw if the chart is not yet ready, but is on subsequent reloads. The 'NoDataToDisplay' event is also a bit problematic, as I am triggering this error by resetting the connection. I would think this should fire a 'DataLoadError' event, as this usually indicates a server error, and not no Data to Display. A 404 is handled correctly as an error
  4. I reported this in the 3.2 beta period, but I am resubmitting here to make sure it has visibility on the new forums: The right-click context menu kills the browser for our Linux users. To reproduce: 1) Go to any fusioncharts 3.2 chart., such as one on this gallery: http://www.fusioncharts.com/gallery/Category.asp?Column3D 2) Right click on the chart. If you are using Linux with Flash Player 10.x, the browser will timeout and crash (Firefox) or do nothing at all (Chrome). Since a large number of our users employ this combination, this may be a showstopper to our adopting fusioncharts. - It seems to affect any 64-bit Flash Player 10, and some combinations of 32-bit Flash Player 10. - Under FusionCharts 3.1, the context menu worked, so this broke between 3.1 and 3.2. Powercharts, which apparently still uses 3.1, still works fine. (try http://www.fusioncharts.com/PowerCharts/charts/drag-node/ in a 64 bit linux browser to see)
  5. I have a need to implement zoomline-type functionality in other charts. I have glued something together in javascript that allows a user to click on one point, then another, which will then trigger a reload of the chart using the new parameters established by those clicks. It works, but, for graphs with lots of points, it is very frustrating for users to try and click on an exact point. Is there any way to associate click events with simply the axis, so that the user does not have to click on an exact point, or, barring that, some way of capturing where along an axis a given click is? Even better, would there be a way to trap a drag event (much like the zoom line chart does) and capture the boundary values in javascript?
  6. Please consider adding click events on the rest of the map, capturing the nearest coordinate and/or drag events as a feature request, then, as visual highlights and increased thickness do not help this case.
  7. Bugs In Clickurl

    When using a clickUrl, the mouse event is trapped in FusionCharts so that subsquent mouse clicks anywhere on the page are handled by FusionCharts. While I have fielded complaints about this in other browsers, I myself have only been able to reproduce it under Chrome on Linux, where it occurs 100% of the time. You can reproduce both of them using the following chartXML, which is the MSLine1.xml taken from the docs, with clickURL='n-http://www.fusioncharts.com' added in the <chart/> element. Issue #1 -- new frame clickURLs intercept other fusioncharts events ------------------------------------------------------------------------------------------- 1) Open this chart. (Currently, I am using IE6/Win, though I have reproduced it on several other browsers.) 2) Click on a legend element to hide the series Expected: The series will hide Actual: The clickURL opens in a new frame. If it is a same frame clickURL (http://www.fusioncharts.com instead of n-http://www.fusioncharts.com), the series is hidden as expected. The bug only surfaces when opening a new window. Issue #2 -- fusioncharts swf keeps the mouse event --------------------------------------------------------------------- I have fielded complaints about this in multiple browsers, though I can only reproduce it under Chrome/Linux, where it occurs 100% of the time. 1) Open this chart in Chrome/Linux 2) Click on the chart to open a new window. 3) Go back to the window with a new chart 3) Click anywhere else on the page Expected: The clicked page element handles the click Actual: FusionCharts handles the click, spawning another new window. There is no way for the page to get control back from the swf. You can recreate both of these issues using the following chartXML, which is simply the MSLine1.xml from the Enterprise distribution with a clickURL='n-http://www.fusioncharts.com' put in the chart element. <chart caption='Production Forecast' yAxisName='Units' bgColor='F7F7F7, E9E9E9' numVDivLines='10' divLineAlpha='30' labelPadding ='10' yAxisValuesPadding ='10' clickURL='n-http://www.fusioncharts.com' showValues='1' rotateValues='1' valuePosition='auto'> <categories> <category label='2006' /> <category label='2007' /> <category label='2008' /> <category label='2009' /> <category label='2010' /> <category label='2011' /> </categories> <dataset seriesName='Model A12' color='A66EDD' > <set value='35' /> <set value='42' /> <set value='31' /> <set value='28' /> <set value='34' /> <set value='30' /> </dataset> <dataset seriesName='Model A15' color='F6BD0F'> <set value='22' /> <set value='25' /> <set value='18' /> <set value='22' /> <set value='17' /> <set value='16' /> </dataset> </chart>
  8. Bugs In Clickurl

    On the first issue, I may have an incorrect expectation on how clickURL is supposed to work, as without the n- it still opens the clickURL. I had expected clickURL to fire only if there was no interactive element being invoked. Apparently, clickURL overrides all interactive elements in the chart. If this is as designed, then that first element would not be a bug, but please consider it as an enhancement request instead to have clickURL be subservient to other in-chart elements. The second issue, where the mouse event is effectively captured forever by the swf movie, would still be a bug, though. Thank you
  9. I need to detect and display specific messages for various charts in a dashboard-like page, and the built in detect flash version/auto redirect mechanism is not sufficient for that task. In past versions of FusionCharts, we could use infosoftglobal.FusionChartsUtil.getPlayerVersion() to determine the level of Flash player support in the current browser, but that mechanism only appears in the "legacy" FusionCharts files. What is the equivalent in FusionCharts 3.2?
  10. You are correct; we have choices, and there are plenty of sniffers out there. Our problem was that we have to deliver fusioncharts graphs in portlet contexts where these libraries (or even fusioncharts.js itself) may not be in the page context when the portlet is first created, so using these methods was a bit tricky (and tedious). Admittedly, this is a narrow use case, and we fashioned a workaround similar to what you did, but, since we did, I suppose by definition I can no longer claim it as a showstopper . If fusioncharts were to expose methods (as it did in earlier versions) or events for fusionchart's internal swfobject/flash detection results, it would have been much, much better.
  11. Catching Raised Errors?

    Perhaps this is a simple question, but how does one catch and stop propagation of raised errors? If flash is not present (asked for a replacement for the infosoftglobalutil flash detection public API/event in another thread), I am chart.addEventListener('internal.domelementcreated', function(evt, status) { if (status.success === false) { me.flashNotSupportedMsg(); evt.stopPropagation(); } }); This adds the correct message, however, a setXMLURL call has already been dispatched, because, with the deprecation of the infosoft globalutils, there is no way to detect flash and abort earlier in the process. A RenderManager Error is raised, which I listen for with: chart.addEventListener('Error', function(evt, args) { alert('error' + evt + ' ' + args.message); evt.stopPropagation(); }); And, while the alert statement is triggered, the error also bubbles through to the browser. How can I trap the error so that my code can handle it, without an ugly browser error popup after I have already dealt with it?
  12. Catching Raised Errors?

    Looking through FusionCharts.debug.js, it seems this is the culprit on line 677: // Throw error in a separate scope so that the execution of this script // is not blocked. Do this only when debugMode is enabled window.setTimeout(function () { throw err; }, 0); Because it is thrown in a different context, the error can only be caught in a global window.onerror listener, which has problems in some browsers. Judging from the comments, this should be: // Throw error in a separate scope so that the execution of this script // is not blocked. Do this only when debugMode is enabled if (global.core.debugMode.enabled()) { window.setTimeout(function () { throw err; }, 0); }
  13. Datastreamurl Response Timeout

    Can you add such an enforcement parameter, please, along with a javascript event fired when the timeout threshold is exceeded? Currently, if a server is not responding, FusionCharts appears to spin indefinitely, then eventually show the same chart that had been populated on the previous request. Other parts of the page which are depending on FusionCharts events to fire are also never triggered, so dependent parts of the page also appear to fail. At the very least, FusionCharts should be throwing a DataLoadError when a dataURL request times out, but a more specific error would be more helpful. The current situation can be frustrating to our users, and, while FusionCharts is not responsible for the server timing out, FusionCharts really needs a way to recover gracefully from such a situation.
  14. Datastreamurl Response Timeout

    This is also of interest to us...if this is not possible currently, please consider this as a future feature. Heavily loaded servers sometimes can timeout, and the behavior of fusioncharts in this context is definitely not obvious to the user.
  15. Fusioncharts demo pages are also affected. In the 3.2 distribution, look at: (your host/path)Code/MyFirstChart/weekly-sales-multiple-charts.html IE8 without flash installed throws an error rather than any sort of redirect or proper flashdetection, killing the page completely. This is a deployment showstopper.
  16. Thank you for the response. In our specific case, we have fusioncharts portlets on a portal page. If Flash is not present, we would like to update the HTML of the portlet accordingly. Lacking any direct ability to check, I am working around it by instantiating the chart and listening for an internal event callback, as follows: portlet.chart.addEventListener('internal.domelementcreated', function(evt, status) { if (status.success === false) { portlet.body.applyStyles('margin:40px'); portlet.body.dom.update('<h3 class="radar_text">IPreportsV2 requires Flash Player version 8 or higher to run. You may download it from <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_new">Adobe</a></h3>'); evt.stopPropagation(); } }); But as an internal event, this seems like it is (or should be) unsupported, so I would prefer to have some official hook, preferably one that would not require me instantiating and loading charts in the first place, if possible.
  17. Context Menu Killing Browser In Flash 10/linux

    As noted above, It did (and still does) work under all Linux combinations I have tried with FusionCharts 3.1, so this problem must be a regression introduced by FusionCharts 3.2
  18. Listeners Broken In 3.2.1?

    I was using a beta version of 3.2, primarily to make use of the new javascript events. On the 3.2.1 final release, none of the javascript events work. In my particular code, I call the data for the chart after the chart has loaded: this.chart.addEventListener('Loaded', function(evt) { alert('in loaded'); if (me.mask) { me.mask.show(); } me.loadChart({pc:me.pcIds, from:me.from, to:me.to, span:me.span, rollup:me.rollup}); }); In beta, this worked perfectly, but the event is never fired when using 3.2.1 release. (No chart loaded, no alert called) For that matter, hitting javascript examples in the distribution seem broken, as well. For example: FusionCharts_Evaluation/Code/JavaScript/Basics/Events/Rendered.html is an old-style event, but no alert is raised. If I substitute in an earlier beta of fusioncharts 3.2, everything works fine. Can you please take a look at the event model in 3.2.1 release? FusionCharts is entirely unusable in our application without being able to hook into events.
  19. Listeners Broken In 3.2.1?

    Seems to be working now...perhaps I had a mixture of beta js and release swf (or the other way around).
  20. Is there a way to Change the "No data to display" message after the swf has loaded? setDataURL() is not working for us, so we are making a standard ajax call and invoking setDataXML() in the callback. Unfortunately, this presents the user with a "No data to display" message for the duration of the data load, which is not the best experience. The documentation suggests overriding with a parameter in a parameter to the flash movie, as in: Column2D.swf?ChartNoDataText=Please select a record above but that would override the message even in those cases where we actually *have* no data, which is no good. Is there a way from javascript to trigger the showing of a specific message in the flash movie?
  21. FusionCharts v3.2 Beta Impression

    Further tracking on the context menu locking flash in Linux: FusionCharts 3.1 + Flashplayer 10.1 (current), Linux: works fine FusionCharts 3.2 + Flashplayer 9.x (old), Linux: works fine FusionCharts 3.2 + Flashplayer 10.1 (current), Linux: no context menu, browser locks up So the problem seems to be with FusionCharts 3.2, but only with the most recent flash player, which, unfortunately, most of our users will have.
  22. FusionCharts v3.2 Beta Impression

    Assuming the update was at http://goto.fusioncharts.com/beta32 (and diff suggests the files I just downloaded are different than the ones I downloaded earlier from that beta link), then no, the same problems still exist when hitting FusionCharts from a Linux-based browser.
  23. FusionCharts v3.2 Beta Impression

    It seems to be a problem with 3.2 on Linux. On Chrome/Safari on OSX or IE on Windows, it works. However, on multiple machines running Linux, I see the following: On Linux Firefox 3.6.8 - Browser locks up Chrome on 6.0.495.0 dev - Browser does not lock up, but no context menu appears Since one of our primary use cases of fusioncharts would be for realtime dashboards of servers, and many of the responsible employees use Linux, this would be a problem. I am using javascript, simplified as follows: var chart = new FusionCharts('Charts/MSLine.swf', 'fchart', '1000', '300', '0', '1'); ... charts.setDataXML(xml); charts.render('fusionchart'); The same javascript, and the same chartXML, works fine with FusionCharts 3.1, but not with FusionCharts 3.2 beta. I also see the same problem in the FusionCharts examples page, with Chrome and Firefox exhibiting the same problems when I hit http://www.fusioncharts.com/labs/peek/zoom/
  24. FusionCharts v3.2 Beta Impression

    Is there a known issue with the context menu in the current 3.2 beta? Right-clicking on a flash chart does nothing in chrome, but locks up firefox.