Jump to content
JChartFX Community

GuyInHouTX

Members
  • Posts

    2
  • Joined

  • Last visited

GuyInHouTX's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I agree, we would actually use it that way. I just screen shot that as a fast way to see the differences in sorting. So for now, I guess I'll just render my own data grid outside the funnel view.
  2. I wish to use a funnel to represent sales activity, and display a datagrid instead of a legend box. I would use .getPointLabels(), but the values sometimes overwrite each other on the graph. When I add the datagrid, the labels somehow get swapped/reordered so that the data no longer matches the label. I've attached a screenshot to demonstrate... using the funnel example at: var funnel = new cfx.funnel.Funnel(); chart1.setGalleryAttributes(funnel); funnel.setTipHeight(10); var data = chart1.getData(); data.setSeries(1); data.setPoints(5); chart1.getLegendBox().setDock(cfx.DockArea.Right); chart1.getAllSeries().getPointLabels().setVisible(true); data.setItem(0,0,780); data.setItem(0,1,1462); data.setItem(0,2,2465); data.setItem(0,3,6242); data.setItem(0,4,15230); data.getLabels().setItem(0,"Renewals"); data.getLabels().setItem(1,"Purchases"); data.getLabels().setItem(2,"Quotes"); data.getLabels().setItem(3,"Downloads"); data.getLabels().setItem(4,"Visitors"); chart1.getDataGrid().setDock(cfx.DockArea.Right); chart1.getDataGrid().setVisible(true); chart1.getAxisY().getLabelsFormat().setFormat(cfx.AxisFormat.Currency);
×
×
  • Create New...