Jump to content
JChartFX Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About perryworld

  • Rank
  1. Hi, We have created a module in Joomla to display different charts depending on the parameters we provide to each module. For example we have one chart displaying Groups and another showing Locations. If we have these on separate pages they seem to work fine, but if we display them both on the same page only one displays. We assume this is because the two charts are using the same code to create the charts. Is it possible to create a generic chartobject so for each module it will create it's own version and avoid conflicts? Our site is at http://demonew.online-communities.org
  2. Hi, We have created a pie chart and everything works fine but we now want to add a click event to each segment so we can open a page with further information. We added the following code within the document.ready jQuery("#ChartDivGroups").click(function(evt) { alert ("SET"); onChartClick(evt); }); And the following function function onChartClick(evt) { alert (evt.hitType); if (evt.hitType == cfx.HitType.Point) { var s = "Series " + evt.series + " Point " + evt.point; alert(s); } } When we click on the
  3. Hi, We are new to jchartfx and have a question. We have created a pie chart with the legend at the bottom and we need to re-size it to fit on the sidebar of our site but when we set the width of the div to anything less than 400px the legend disappears. Is there any way we can set the width to 300px with out losing the legend. Please see attached. Thanks Rich
  4. Hi JuanC That fixed the problem, Many thanks for your help. Cheers Richard
  5. Hi We are trying to create a stacked bar chart but we keep getting No Data Available. We did have the example working but when we retrieved data from our database the chart doesn't display. Here is the code <head> <link rel="stylesheet" type="text/css" href="/jChartFX/styles/jchartfx.css" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ></script> <script type="text/javascript" src="/jChartFX/js/jchartfx.system.js"></script> <script type="text/javascript" src="/jChartFX/js/jchartfx.coreVector.js"></script>
  6. Hi JuanC Thanks for the reply, that works great now. Cheers Rich
  7. Hi, We are new to using jChartFX so any help would really be appreciated. We have followed the example for the Bar Chart and have that working fine but when we have tried the Pie Chart we get the correct legends but the Pie chart only plots one item. We have retrieved the data from our database and compared that to how the data looks in the example and it looks to be in the correct format. This is our code : <div id="ChartDiv" style="width:600px;height:400px"></div> <script type="text/javascript" language="javascript"> jQuery.noConflict(); jQuery(document).rea
  • Create New...