nemesis256

Members
  • Content count

    17
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by nemesis256

  1. Server-side exporting in 3.4

    Currently with 3.2.2, we have a script that loads charts one by one in the browser and saves them as an image on the server. This is done using the FC_Rendered (to trigger the export handler) and FC_Exported (to do window.location to load the next chart) functions. In the documentation for 3.4, the deprecated section says this is possible ("Render chart at server-side to download it as image/PDF of the chart"), but the page on exporting says it's not. I get a feeling that the page on exporting is the correct one, so when will I be able to do this with a new version?
  2. Server-side exporting in 3.4

    Finally figured it out. I had to set usePlotGradientColor = 0 for the bar colors to show up. As far as the lines, using divLineIsDashed works.I would prefer solid lines, but it's better than nothing.
  3. Server-side exporting in 3.4

    paletteColors didn't fix the problem. Still no fill property in the style attribute. The example charts in the documentation have it, so what am I missing?
  4. Server-side exporting in 3.4

    After some debugging, I suspect that wkhtmltoimage doesn't like some SVG attributes. In FusionCharts, the bar charts are missing fill in the style attribute of the rect tag, and are instead drawn using the fill attribute. When I applied the CSS rect {fill: #004B8D;}, exporting the bar chart worked fine. Unfortunately I need multiple colors on a few charts, so this is not a very good solution yet. As far as the lines missing, it seems to be because of the d attribute of the path tag. I know nothing about SVGs, and not sure if this one is fixable. edit: I haven't been using the FusionCharts paletteColors attribute to set the colors. I suspect that's why I don't have a fill in the style attribute.
  5. Server-side exporting in 3.4

    So I'm getting this working using the wkhtmltoimage method, and I have a couple problems. The most serious one is the image here. Any bar charts are missing the color for the bar, and appear as white instead. This affects any bar or column charts. Pie charts work fine. Another problem, although not as serious, is logarithmic charts. The lines on the charts show up correctly, but the background lines showing the logarithmic scale are missing. On all charts, the background lines that helps separate the big background bars are missing (this can be seen in the image below). Is there anything I can do about these problems? When looking at the page I'm using to render the charts in my browser, it looks fine.
  6. Server-side exporting in 3.4

    Thanks for the reply. The FusionCharts documentation states: Currently, the charts can only be exported using the hosted FusionCharts Suite XT Export handler service. We intend to ship a self-hosted Export Handler module next quarter. Is this self hosted export you guys are planning going to be easier or better than the two methods you mentioned? Will the next version of FusionCharts still work with these two methods? Is the self hosted export handler going to have an extra cost with it? When do you guys plan to release this? Depending on the answers to these questions, we may wait to upgrade.
  7. I need to make a chart with multiple lines on the same axis that will have a huge range. For example, one line will start at 10, go up to 50 over 30 points, the second may start at 30,000 and go up to 40,000 over 30 points as well. Because of huge range, and relatively small change in the data, the lines will apear flat. Is there a way to make this prettier to show the growth? Can I maybe have the user hide one of the lines and have the chart Y axis regenerate (with setAdaptiveYMin turned on)? Or can I have the Y axis break up, so the range might be 0-50, ignore 50-30,000, then 30,000-40,000?
  8. Is it possible to automatically save a chart as an image on the server? I'm interested in putting together a document (not sure what type yet, HTML, PDF, something like that) of different charts. I want to be able to do this on the server without any user interaction. Is this possible?
  9. SSGrid number formatting

    The SSGrid is showing numbers as 7.09K. Is there a way I can now have the abbreviation and show 7090 instead?
  10. SSGrid number formatting

    that works! thanks!
  11. I have a graph that gets a new bar for each month. When we first start the graph, there's obviously only one bar. The problem with this is that the bar takes up the whole space of the graph, so I end up with a bar that's 600 or so pixels wide. How can I make it thinner, so instead I have a lot of empty room on the graph?
  12. Setting width of each bar in a graph

    I think this could work...Is there a way to align the bar to the left instead of having it centered?
  13. I have a Scroll Combination 2D (Dual Y) Chart that sometimes has the bars and lines getting very close to the top of the chart. For example, the value I'm giving to one of the bars is 378 and the maximum value is calculated to be 380. Is there any way I can make sure that there is some space above the bars so the chart always looks nice? What is the property for setting the highest value? I would rather not go this route since I will then have to calculate the maximum number myself. As a related property, is there one for setting the the "steps" between each number? For example it is currently set to 76, then 152, but I would rather have it set to 50 or 100. I think I've seen some of these properties in the documentation but I can't find them anymore. It would be nice to have a search in the documentation...
  14. So I've got this function that has ajax code, which calls to a PHP script to build the XML for the chart. The function is run when the page loads, and is called later when the user selects an option from a select menu. Safari and IE are working fine. Firefox on the other hand, only works on the page load. When selecting an option from the select menu, nothing happens. Is this a known issue?
  15. Chart not working properly with Ajax in Firefox

    anyone? I still haven't figured out this Firefox problem.
  16. Chart not working properly with Ajax in Firefox

    I turned on debug mode, but I'm not sure what I'm looking for. There's no difference in how the chart behaves in Firefox. It's loaded initially with the debugger on top, and nothing changes when I select another chart from the drop down. Here's the data from the debugger. Info: Chart loaded and initialized. Initial Width: 550 Initial Height: 350 Scale Mode: noScale Debug Mode: Yes Application Message Language: EN Version: 3.0.6 Chart Type: Scroll Column 2D Chart Chart Objects: BACKGROUND CANVAS CAPTION SUBCAPTION YAXISNAME XAXISNAME DIVLINES YAXISVALUES HGRID DATALABELS DATAVALUES TRENDLINES TRENDVALUES DATAPLOT TOOLTIP VLINES LEGEND SCROLLPANE INFO: XML Data provided using dataXML method. XML Data: proper xml data is shown, to long to post here.
  17. Chart not working properly with Ajax in Firefox

    I am getting the response back. When I alert it I see the correct XML. It's not being applied to the graph for some reason. But the same function works when the page is initially loaded.