Jump to content
JChartFX Community

sja

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by sja

  1. this change only the direction of bars ...i need to change the labels direction
  2. how can i change the direction of Gantt Chart to "rtl"?????
  3. mm ok ... but there is no solution to give space between item in 1 serie?
  4. im using IE9 and jquery-1.7.1.min.js
  5. var countryName = ""; var chart1; $(document).ready(function ($) { chart1 = new cfx.Chart(); chart1.setGallery(cfx.Gallery.Gantt); chart1.getView3D().setEnabled(true); chart1.getLegendBox().setVisible(false); var i = 0; var j = 0; var data = chart1.getData(); data.setSeries(1); data.setPoints(3); var items1 = [{ "type": "Internal", "number": 5 }, { "type": "Outgoing", "number": 7 }, { "type": "Incoming", "number": 10 }]; chart1.setDataSource(items1); chart1.getAllSeries().getBorder().setEffect(cfx.BorderEffect.Raised); chart1.getAxisX().getGrids().getMajor().setVisible(false); chart1.getAxisY().getGrids().getMajor().setVisible(false); chart1.getAxisY().getGrids().getMinor().setVisible(false); chart1.getAxisX().getGrids().getMinor().setVisible(false); chart1.getAxisY().setVisible(false); chart1.getAllSeries().getPointLabels().setVisible(true); chart1.getView3D().setEnabled(false); chart1.getAllSeries().setVolume(70); chart1.getGalleryAttributes().setIntraSeriesGap(60); chart1.create(document.getElementById('ChartDiv'));
  6. var countryName = ""; var chart1; $(document).ready(function ($) { chart1 = new cfx.Chart(); chart1.setGallery(cfx.Gallery.Gantt); chart1.getView3D().setEnabled(true); chart1.getLegendBox().setVisible(false); var i = 0; var j = 0; var data = chart1.getData(); data.setSeries(1); data.setPoints(3); var items1 = [{ "type": "Internal", "number": 5 }, { "type": "Outgoing", "number": 7 }, { "type": "Incoming", "number": 10 }]; chart1.setDataSource(items1); chart1.getAllSeries().getBorder().setEffect(cfx.BorderEffect.Raised); chart1.getAxisX().getGrids().getMajor().setVisible(false); chart1.getAxisY().getGrids().getMajor().setVisible(false); chart1.getAxisY().getGrids().getMinor().setVisible(false); chart1.getAxisX().getGrids().getMinor().setVisible(false); chart1.getAxisY().setVisible(false); chart1.getAllSeries().getPointLabels().setVisible(true); chart1.getView3D().setEnabled(false); chart1.getAllSeries().setVolume(70); chart1.getGalleryAttributes().setIntraSeriesGap(60); chart1.create(document.getElementById('ChartDiv')); $("#ChartDiv").click(function (evt) { if ((evt.hitType == cfx.HitType.Point) || (evt.hitType == cfx.HitType.Between)) { var s = "Series " + evt.series + " Point " + evt.point; if (evt.hitType == cfx.HitType.Between) s += " Between"; alert(s); } }); });
  7. setIntraSeriesGap is used in all types of chart? (example in Gantt chart)... because i tried it but no changes Attachments.zip
  8. i used it but hittype is undefined for evt
  9. how can i call a function when i click on a column in a Bar chart? and how to know the column selected?
  10. this method is decreasing the volume of bars but i need to give space between items in the same serie ... giving more space between labels
  11. thank you very much for your help... it works
  12. how to give margins between columns of chart?
  13. how can i change background color of areaChart ?
×
×
  • Create New...