jvl

Members
  • Content count

    25
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by jvl

  1. Interactive Legend

    Hi. With 3.2 we get Interactive legend, which is a nice feature, but I would not include it by default to all charts. For example if I have a stacked column with 4 pieces stacked on top of eachother and I disable one from the middle I get a gap there. Now how does that help me comparing the charts? If the bars were re-rendered and I the gap would disappear then the columns would be comparable again, it would give me a "cleaned" version of the data but this does not happen. A concrete example would be that you have bar with sales for Q1, Q2, Q3, Q4 for two years 2008 and 2009, now disabling Q3 if I wanted to compare sales for Q1+Q2+Q4 on the two different years, but the disabling does not help interpreting the bar as the total height (which is the sum) does not change but there is a gap in between. For line charts this works beautifully since disabling some data will make the comparison easier and allows you to focus on the data you are interested in. Having the chart re-render when disabling line chart would still benefit us in some cases, because sometimes you get one line that throws the scale off so disabling that would help us compare the remaining data with a more appropriate scale. My main problem with the new legend is that the legend takes a lot more space. Some cases the space for the chart is very limited and the chart specially tuned for that space so such major changes as doubling the legend leads to breaking the layout of the page. So my question really is that is there any way to not use the new legend or an alternative way to manage this issue? thanks for answers in advance
  2. Interactive Legend

    Finally it works! Thanks!
  3. Hi, Add this line document.getElementsByTagName('body')[0].setAttribute("dir", "rtl"); to your fiddle here: http://jsfiddle.net/fusioncharts/x5FBh/ and you will get a huge scrollbar on the frame. It is caused by this element ".fusioncharts-smartlabel-container" and specifically this rule "left: -9999em".
  4. For me with firefox 42.0 (the latest one currently) the chart goes to the right side and I get a scrollbar although there is nothing that would require that scrollbar. I also tried this on another computer and same thing happens. <html> <head> <script src="https://code.jquery.com/jquery-1.11.3.js" type="text/javascript"></script> <script src="http://static.fusioncharts.com/code/latest/fusioncharts.js" type="text/javascript"></script> <script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js" type="text/javascript"></script> <script type="text/javascript"> FusionCharts.ready(function () { var salesChart = new FusionCharts({ type: 'area2d', renderAt: 'chart-container', width: '400', height: '300', dataFormat: 'json', dataSource: { "chart": { }, "data": [ { "label": "Value", "value": "4" } ] } }) .render(); }); </script> </head> <body dir="rtl"> <div id="chart-container">FusionCharts will render here</div> </body> </html> The thing that makes the scrollbar go away is this style <style> .fusioncharts-smartlabel-container{ left: 0px !important; } </style>
  5. I ran into this bug in normal use. I am not talking about just having a scroll bar, I am talking about the page being something like 160 000 pixels wide (yes 160k px). Did you try it in a normal html page with dir="rtl" in the body?
  6. Interactive Legend

    No comment?
  7. Interactive Legend

    The perfect 5th year birthday present for this issue would be to fix it. What do you say? (It is present in 3.8.0)
  8. Interactive Legend

    Closing in on 4 years with interactive legend making no sense what so ever for these charts. How is that wishlisth item progressing?
  9. Interactive Legend

    Hello again, As it has been almost a year of silence on this issue again, I thought I would bump and ask if there is any progress on this or anything at all? I saw this was also suggested in another thread aswell: http://forum.fusioncharts.com/topic/8415-interactive-legend-leaves-ophans-on-chart/ and that is two years ago when you were trying to get it into the next release. It is a shame that such a small issue degrades otherwise brilliant feature. I do have the enterprise license so maybe I should dig into the source code myself one of these years
  10. Everything Works Great Except Ie8 Rendering.

    Any updates on this issue? I've got reports from users on this same matter just like described here: http://forum.fusioncharts.com/topic/10332-fusion-charts-not-rendering-in-ie-8
  11. Hello, I found that when the y values are all 0, the yAxisMaxValue has no effect on the chart and it is always rendered with 100. Changing any of the y values to non-zero will render the chart properly. Here is the XML I used: <chart yAxisMaxValue='3' yAxisMinValue='-3'> <dataset seriesName='data1'> <set x='1' y='0' /> </dataset> <dataset seriesName='data2'> <set x='2' y='0' /> </dataset> <dataset seriesName='data3'> <set x='3' y='0' /> </dataset> <dataset seriesName='data4'> <set x='4' y='0' /> </dataset> </chart> And the attached image is what is rendered. Any idea how to fix this?
  12. Scatter Chart Yaxismaxvalue Issue

    How about PowerCharts and FusionMaps? And is there a planned release for any of the ones that have not yet been released with HTML5?
  13. Scatter Chart Yaxismaxvalue Issue

    I have the enterprise license for all the products. Is the update backwards compatible with previous XML and widgets etc? I downloaded the package from PUC and seems like this scatter issue is fixed. There is one problem with the PUC itself when I tried to download the update it had "FusionCharts_EnterpriseEx.zip%A0" in the URL, I removed the %A0 and it worked, but I thought you might want to know that.
  14. Scatter Chart Yaxismaxvalue Issue

    Here is an XML with one value changed to non-zero: <chart yAxisMaxValue='3' yAxisMinValue='-3'> <dataset seriesName='data1'> <set x='1' y='1' /> </dataset> <dataset seriesName='data2'> <set x='2' y='0' /> </dataset> <dataset seriesName='data3'> <set x='3' y='0' /> </dataset> <dataset seriesName='data4'> <set x='4' y='0' /> </dataset> </chart> And I attached the correctly rendered result.
  15. Interactive Legend

    Since you don't reply, I will assume that no improvement is coming.
  16. Interactive Legend

    Following up on this old issue that I still have with the legend. I found you had answered something I was going to ask about already here: http://forum.fusioncharts.com/topic/7636-chart-has-no-javascript-fallback/ and based on that It seems you know what is going to be in v3.2.2. I would like to ask now if any of this related to the interactive legend is being improved for that release? I still think that the feature degrades the stacked bar charts instead of improving them.
  17. How To Enable Logs

    Yeah I was trying to run the example from local file system, running it through apache and it worked ok. I guess there is hope for server side logging after all Thanks!
  18. Interactive Legend

    Well I guess all I can do is ask you to consider implementing these improvements to the legend: 1) compact mode support - Basically the old legend without interactivity, icons and the grid layout. 2) re-render mode support - If the data is disabled the chart should render in same way as if the data would just disappear from the xml altogether. This way it would be more meaningful for bar charts. I think this could be the default mode of operating as I see no use case for a gap in bar chart (but obviously I can be wrong and maybe there is a legitimate use for it) The interactive legend itself is great and we actually have implemented it before outside of the chart library for some charts by check boxes and ajax. Only difference is that when implementing it outside the chart you do not get the legend for the missing data and it requires a trip to server etc, so having it in the client side is great. Thanks for the help! I got my questions answered
  19. Interactive Legend

    None of the attributes for the legend can be used to fix my issue. There seems to be some sort of grid layout for the legend now and previously it was more like a "flow layout". All the icons line up in columns and that is not something that is important to me, but what it does do is take more whitespace inside the legend. I did not find anything in the docs related to this so I assume there is no way to break the grid.
  20. How To Enable Logs

    Turns out that even the javascript event examples are not working in my browser. I assume that it is some sort of safety feature in firefox/flash/something and if it is, enabling server side logging is impossible.
  21. How To Enable Logs

    Will do. Thanks for the quick replies
  22. How To Enable Logs

    What would really be useful is just a debug callback. I know there is already some internal error messages that show up in debug mode and I saw that in the javascript API there is some listeners that can be registered. Maybe consider adding this kind of event for debug messages so we could register our own javascript there. Actually.. now that I look at the docs, I see that there might even already be those events: http://www.fusioncharts.com/docs/JavaScript/API/Events.html If I understand correctly, all I would have to do is to implement a javascript listener that would take those events and make an ajax call to my server with a message and implement a server side module that would take the message and log it. I will have to take a look at that, should be pretty straight forward to implement. Are there any examples on listening events?
  23. Interactive Legend

    Thanks for the fast reply. It is not a problem that the chart is interactive, it is just not useful for stacked charts at the moment. It is good to know and I will try it, but you see the problem is that consider yourself in my position: I have 200 charts and if I use resources to tweak each of them individually, I may be able to get them to look like they used to. But since all our XML is generated through code, I could add constants to the XML like useOldLegend='1'. If there is anything like this, please let me know. There is a lot of good stuff in 3.2 and I would really like to update, but currently I am unsure due to visual changes that require fixing many of the layouts. Thanks.
  24. How To Enable Logs

    Hello. I am also interested in this. Is there a way to get that debug mode output out from the flash into the server logs? Problem is that while the debug mode is useful for something, it is client side and you will never know what your client saw. Is there a possibility to let the flash call javascript with all the debug info? If you could define some kind of callback for debugging then you could handle that in the servlet or jsp or what ever it is you use for server. for example: var myChart = new FusionCharts( { swfUrl: 'FusionCharts/Column3D.swf', width: '400', height: '300', debugMode : true debugCallback: '/log?debugMessage=' }); Now instead of the chart showing that panel over it, when it has a debug message it would send an ajax request to debugCallback with appended message like /log?debugMessage=Info: Chart loaded and initialized. The example is a bit rough and would spam the logs with too much stuff, but it would be useful if it could be limited to errors etc, maybe use javascript function as the callback instead of straight up ajax request etc.
  25. Resizing issue in Fusion chart

    Hello. Is there an easy way to disable this dynamic resize for all the charts? I embed the charts to HTML by javascript and define static width and height for each chart, but some charts resize themselves after they have loaded and doing that breaks the layout of the page. All our charts are built pre 3.2 so this issue did not exist earlier and is likely to prevent me from updating to new version. thanks.