• Content count

  • Joined

  • Last visited

About alex_dunn

  • Rank
    Junior Member
  1. Using 3.10.1, (cannot upgrade at present due to issues cited in We are trying to render a chart with 3600 points per series with multiple series as a line connecting the points, with anchors not visible at first but visible when hovered over and with tooltips displayed. With drawAnchors=1 the charts are taking greater than a minute to load but with drawAnchors=0 they take less than 10 seconds. The performance of drawAnchors=0 is ok but this does not allow for tooltips to be displayed to the user. We have tried using msline2d and scrollline2d, but noticed even worse performance. We cannot use zoomscatter as in 3.10.1 drawLines is not present for that chart. (cannot upgrade due to issues cited in above post). Can you suggest any ways to achieve better load times with tooltips enabled? Attached is a sample of the data we are trying to display, (drawAnchors=0 is set) json-unformatted.txt
  2. I have been attempting to upgrade to the latest version as we would like to use some of the new features but I have come across a series of problems in our previously created charts that I am unable to find a fix for. 1 - Zoom options menu on Zoom Scatter charts: is it possible to hide this element? 2 - Zoom scatter anchors have a grey border. Most other charts base the border colour on the colour of the series which in turn is based off the palettecolors in the theme. In previous versions I was able to avoid this problem by setting anchorBorderThickness to 0 but this setting is not functional in 3.11.0 for zoomscatter. 3 - Zoom scatter hover effect is turning the point white instead of keeping the anchor the same colour (which is default behaviour for all other charts and for zoomscatter on 3.10.1). The following fiddle displays problems 2 and 3. 4 - We were previously able to set showAnchor/s to 0 to turn off tooltips for a single anchor/series. I have attempted to use the new drawAnchors value but the tooltips are still displayed. Is there a way to turn off tooltips for a single series (specifically for a scatter chart) in 3.11.0. 5 - When more than one scroll chart is on a page, and the first chart starts with no scroll bar displayed, and javascript sets numVisiblePlot low enough that the scroll bar should be shown, the scroll bar is being added to the most recently generated chart on the page and not the one that was altered (unless that was the most recently rendered). The following fiddle shows this problem: If you click the zoomIn button, the scroll bar is attached to the second chart (salesRevChart2) when the button is altering values in the first chart (salesRevChart). The scroll bar is still alters the display of the first chart (SalesRevChart) Some of these seem like they might be bugs with 3.11.0, so I would be grateful for any information regarding fixes for these issues. Thank you, Alex Dunn
  3. Themes Data Specific Settings

    I would like to be able to create a theme so that on a combination chart (ie scrollcombidy2d) different renderAs options get different settings from the theme. A simple example would be: Lines: rotateValues:0 Columns: rotateValues:1 I have tried adding the following to the theme, but it does not work: scrollcombidy2d:{chart:{showValues:"0"},dataset:[{line:{rotateValues:"0"}},{column:{rotateValues:"1"}}]}, Is this possible? What would the structure be to do this?
  4. Dual Y-Axis CSV Data Formatted Incorrectly

    I have done as you asked, the following link has the JSFiddle of the coed with the issue.
  5. When trying to export chart data as CSV, using the getCSVData() method, I have set exportDataFormattedVal:1 so that my output maintains the formatting shown on the chart. This issue is that the output format for data in the secondary axis is formatted using the settings for data linked to the primary axis. For example, the following data has:- primary axis:(decimal:2, numberSuffix:" AUD"), secondary axis:(sdecimals:0, sNumberSuffix:"") The data is formatted like this: CSV Data (as output by FC): "Hour","Client Cost","Call Centre" "07:00","0.00 AUD","11.00 AUD" "08:00","5,446.53 AUD","56.00 AUD" "09:00","20,971.23 AUD","248.00 AUD" "10:00","21,461.76 AUD","281.00 AUD" It should be formatted like this: CSV Data (as it should be formatted / how it is formatted in the chart): "Hour","Client Cost","Call Centre" "07:00","0.00 AUD","11" "08:00","5,446.53 AUD","56" "09:00","20,971.23 AUD","248" "10:00","21,461.76 AUD","281" I am using v3.10.1.
  6. Java Private Export Server

    I was using Mac OS X and have since found an old forum post that states that it is not supported. Is this still the case? I have tested my setup on a windows machine, where it work correctly.
  7. I am trying to set up a private export server using the java export handler for the user to download their exported charts. The svg exporting works and results in messages on the server (which means that the servlet is being used by the code). When I try to export as an image or pdf the error in Error 1 is thrown. I have used the command, replacing the null with a valid filename, and found that the inkscape command line creates the image correctly (therefore inkscape is correctly installed). Should the null be present after --export-png, or is that the problem? Using the debugger I know that the exportfilename and exportformat are in the exportdata object correctly. Is there any other information that would be needed to help? Error 1. 11:34:40,069 INFO [stdout] (default task-49) PRINTING PARAMETER 11:34:40,071 INFO [stdout] (default task-49) {meta_bgAlpha=[Ljava.lang.String;@6a6189d, stream=[Ljava.lang.String;@26e9e5c3, charttype=[Ljava.lang.String;@48db4777, meta_height=[Ljava.lang.String;@12066802, stream_type=[Ljava.lang.String;@24d2f82f, meta_bgColor=[Ljava.lang.String;@4d7cd68b, meta_width=[Ljava.lang.String;@5f0ed0ac, oi=[Ljava.lang.String;@7e69e537, meta_DOMId=[Ljava.lang.String;@4d497955, parameters=[Ljava.lang.String;@66aa36f9, encodedImgData=[Ljava.lang.String;@4f080130} 11:34:40,071 INFO [com.fusioncharts.exporter.servlet.FCExporter] (default task-49) action null 11:34:40,072 INFO [stdout] (default task-49) Mac OS X 11:34:40,072 INFO [stdout] (default task-49) Command Inkscape :inkscape --export-background=#ffffff --without-gui /usr/local/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempca86385dad3232f2/02-os-adalyser.war-cacaaff3514d501efusioncharts_temp/fusioncahrts3753111507276111442.svg --export-png=null -w 250.0 -h 300.0 11:34:40,073 ERROR [io.undertow.request] (default task-49) UT005023: Exception handling request to /adalyser/FCExporter: java.lang.NullPointerException at<init>( [rt.jar:1.8.0_91] at com.fusioncharts.exporter.resources.FCExporter_SVG2ALL.exportProcessor( [fcexporter.jar:] at com.fusioncharts.exporter.servlet.FCExporter.doPost( [fcexporter.jar:] at javax.servlet.http.HttpServlet.service( [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service( [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal( [org.springframework.web-3.0.3.RELEASE.jar:3.0.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter( [org.springframework.web-3.0.3.RELEASE.jar:3.0.3.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at [web.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at [web.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler.handleRequest( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at at io.undertow.server.handlers.PredicateHandler.handleRequest( [undertow-core-1.1.0.Final.jar:1.1.0.Final] at [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest( [undertow-core-1.1.0.Final.jar:1.1.0.Final] at [undertow-core-1.1.0.Final.jar:1.1.0.Final] at [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at [undertow-core-1.1.0.Final.jar:1.1.0.Final] at [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest( [undertow-core-1.1.0.Final.jar:1.1.0.Final] at at io.undertow.server.handlers.PredicateHandler.handleRequest( [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest( [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest( [undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.Connectors.executeRootHandler( [undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.HttpServerExchange$ [undertow-core-1.1.0.Final.jar:1.1.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker( [rt.jar:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$ [rt.jar:1.8.0_91] at [rt.jar:1.8.0_91]
  8. Chart Export changes font in Chart

    Yes, I am using v3.10.1.
  9. Zoomscatter tooltip location

    I can not replicate the issue on a JSFiddle, but I found that it occurs on the following chart on your website: I am able to replicate the issue using this page for chrome and safari but it does not seem to happen on firefox.
  10. Zoomscatter tooltip location

    When I hover over the centre of the dot the tooltip is in the correct position but when I hover over the edge of the dot the tooltip renders further up the page and outside the chart element. Hovering over centre: Hovering over edge:
  11. Chart Export changes font in Chart

    In addition to the above, i have looked at the resulting svg text and found that the font-family attribute is missing for the elements that are not originally displaying the font I had defined. Also of note is that I am using client-side export.
  12. I have rendered a chart using the baseFont:'arial' (sans-serif) and it looks as I want it to, but when I export the chart (to any of the supported formats) the font of the axis labels and the labels changes to a serif font. I usually have the font set by a theme, but have also tried setting the fonts explicitly i the JSON, as well as setting the x/yaxisnamefont and legenditemfont to arial. Does anyone have any idea why this happens, and how I can fix it? JS chart Exported Chart
  13. I am trying to create a scatter chart that also has a trend line following it. In some cases, for example in the image, the trend line is not linear. I know I can replicate this example in a normal scatter chart, by adding the trend data to the dataset and setting drawLine=1 and drawAnchor=0, but I need the zoom functionality for my application. Is there a way to add this sort of line to a zoomscatter chart (or another chart with zoom functionality). Also of note is that the datasets I will be representing typically do not have a common set of x values, which as far as I can tell rules out the use of a chart that relies on categories for the x value.