Jump to content
JChartFX Community

Rushabh Shah

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Rushabh Shah

  • Rank
    Newbie
  1. I am creating pie chart and try to show legendbox but it does not appear.Please help do i missing some code? function MultipleSeriesPie(chart1) { PopulateCarProduction(chart1); // RELEVANT CODE chart1.setGallery(cfx.Gallery.Doughnut); chart1.getAnimations().getLoad().setEnabled(true); //chart1.getView3D().setEnabled(true); // END RELEVANT CODE var data = chart1.getData(); data.setPoints(5); data.setSeries(1); var titles = chart1.getTitles(); var title = new cfx.TitleDockable(); title.setText("Project Outlay"); titles.add(title); chart1.getAllSeries().getPointLabels().setVisible(true); chart1.getLegendBox().setVisible(true); chart1.getLegendBox().setDock(cfx.DockArea.Right); }
×
×
  • Create New...