Jump to content
JChartFX Community

PhilHannent

Members
  • Content Count

    26
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by PhilHannent

  1. A little progress has been made, since I posted that I found out that I needed to add more of the JavaScript files to the html. This has enabled some but not all charts to start functioning, my example still fails with: Area Curve Candlestick Open High Low Close High Low Close Pareto Contour And Pyramid is only showing the second series pyramid...
  2. Hi, I've created a select list so that people can change the chart type on the fly. However a number of the charts just don't display and I have no clue as to why: http://www.hannent.co.uk/jchartfx/test6.html Currently I get nothing for: Area Curve Candlestick Open High Low Close High Low Close Pareto Pyramid Radar Contour Surface Any advice would be most helpful?
  3. Hi, That didn't help. It just produced a blank image. I've uploaded my example with your lines commented out: http://www.hannent.co.uk/jchartfx/test6.html Then when I add them in it breaks: http://www.hannent.co.uk/jchartfx/test6-broken.html Any suggestion?
  4. I am trying to remove the KeyLabels from showing in the Legend box. I tried following the documentation however its not working: LegendItemAttributes lia1 = new LegendItemAttributes(); lai1.Visible = false; chart1.LegendBox.ItemAttributes[chart1.KeyLabels] = lia1; http://www.jchartfx.com/api/LegendItemAttributes/OrderIndex Could you provide an example of how it is meant to be used?
  5. I want to create a dropdown like this example: http://binnyva.blogspot.co.uk/2006/01/icons-for-select-menu-options-in.html However getting icons to match and match your set of charts is not easy. Regards Phil
  6. Hi, Is there any chance you could provide some icons for a selector which I could use with your charting? Regards Phil
  7. Its because of IE's rendering engine. I had this with IE9 falling back to quirks mode and causing the exact same error. Once I corrected the html IE9 was able to render in IE9 standard mode without that error.
  8. Perfect thank you. Is there a newsfeed or email newsletter for notifying of updates? Thanks Phil MyRealTimeChart.zip
  9. You might need to look at the FAQ: http://www.jchartfx.com/faq Which reads: How do I get rid of the jChartFX logo and link displayed in the chart area? The jChartFX commercial FREE license displays a non-disruptive jChartFX logo/link in the chart area. You may not modify or remove any copyright notices from any of the jChartFX files or reverse engineer jChartFX so this logo does not appear. If you want to remove this logo from your application or web site, you need to buy a Studio FX Premium Subscription and self-generate a jChartFX license string for up to 4 different applicat
  10. Thank you JuanC. In case it helps others this is my correct function: function chartCumulativeToggle() { if (!aDataCumulativeSet) { aDataCumulativeSet = true; for(var i=0; i < chart1.getData().getSeries();i++){ var AddPoints = 0; for(var j = 0; j < chart1.getData().getPoints();j++) { AddPoints += chart1.getData().getItem(i, j); chart1.getData().setItem(i, j, AddPoints); } } } else { aDataCumulativeSet = false; chart1.setDataSource(aData); } } Windows
  11. Thats just the function call I am looking for. However IE9 reports: SCRIPT438: Object doesn't support property or method 'doUpdate' Do I need a newer version? How can I best track my version? Phil
  12. Good afternoon, Thanks for the reply, looks like I was very close with my code. Your second sentence about getting the points is a little too general for me. I need the number of points within a specific series for my loops to work. Getting the total number of points wouldn't work. How can I get the number of points for the given series? Many thanks Phil
  13. Hi, I would like to adjust the charts height after it has been drawn. For example, if I output a chart and the user decided that the x axis labels were making the chart unreadable. Then I want to offer a text box that resizes the containing div and then gets the chart repainted into it. However the best I can get is that the chart is created as I want it however an old chart pane is visible but empty. This is the code I am currently using: function setHeightOfChart() { document.getElementById("ChartDiv1").style.height = ($(window).innerHeight() * (document.getElementById("CHARTDEP
  14. Further to my earlier post, this is the function I am trying to create: function chartCumulativeToggle() { if (!aDataCumulativeSet) { aDataCumulativeSet = true; //TODO: Figure out how to get the count of series for(var i=0; i < chart1.getData().getSeries();i++){ var AddPoints = 0; //TODO: Figure out how to get the count of points in this series for(var j = 0; j < chart1.getSeries(i).getPoints();j++) { //TODO: Figure out how to get the current value AddPoints =+ chart1.getItem(i, j);
  15. I am not talking about the stacked chart. I want to change the charts data points, but need the count of series and points in a given series to manipulate the data. So that if I had monthly data that was: 1, 3, 2, 5, 0, 2 It would become: 1, 4, 6, 11, 11, 13
  16. Thanks for that list, much appreciated. Do you have a standard set of icons which I could use with it? Regards Phil
  17. I cannot find a list of all the types of chart that I can set. Could you please point me in the direction of that list? http://www.jchartfx.com/api/GlobalAttributes/Gallery Many thanks Phil
  18. Hi, In your other charting components you have a copy to clipboard feature. Is that available at all in jChartFX? Regards Phil
  19. Hi, Thanks for all the help in the past. I don't write thanks posts as they add no real value. I am looking to create a toggle for changing the chart to be cumulative. In your documentation you talk about setting the values: http://www.jchartfx.com/api/DataValues/X However there is no demonstration or documentation on how I can loop over each series and each point by knowing the length of each. Could you provide information on how I can iterate over the data? Many thanks Phil
  20. Hi, Is there a way that I could cycle through the chart gallery options? I've like to have a client side button to loop through them. Phil
  21. Hi, I need to show and hide the chart title via a client side call. However I cannot find information on how to achieve this. I found the getTitles() function call, however the only demonstrated examples are adding a title. How do I manipulate an existing title? Regards Phil
  22. Hi, Just found a small typo in the programming guide for the Data Grid: http://www.jchartfx.com/pg/# Important: The DataGrid functionality additionally requires chartfx.advanced.js when it should be Important: The DataGrid functionality additionally requires jchartfx.advanced.js
  23. Hi, I am trying to apply a URL to a series, could you provide an example? I am outputting a bar chart where I want each series to have a drill down to another page detailing the contents of that series. Regards Phil
  24. Hi, Any chance you could create an fall back option that would output a PNG file (which can be done in JavaScript)? One of our big corporate customers is still using IE8 and will be for the foreseeable future. Regards Phil http://www.xarg.org/2010/03/generate-client-side-png-files-using-javascript/
  25. IE8 does not support inline SVG. jChartFX would be IE9 and up compatible. http://caniuse.com/svg-html5 Attachments.zip
×
×
  • Create New...