Report LegendBox is not appering in General Questions Posted March 21, 2014 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); }
LegendBox is not appering
in General Questions
Posted
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);
}