Jump to content
JChartFX Community


  • Content Count

  • Joined

  • Last visited

  • Days Won


PhilHannent last won the day on November 24 2014

PhilHannent had the most liked content!

Community Reputation

2 Neutral

About PhilHannent

  • Rank
  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
  • Create New...