User (Legacy) Posted February 15, 2006 Report Share Posted February 15, 2006 Hi, I am trying to set point labels on a 2D stacked bar chart and am having problems with the "smart" labels. Ideally, I would like to have the label in the center of each stacked bar, however it appears that you can only position the label to the left, top, bottom or right of the point. Also, I am having issues with overlapping labels and issues when the data points are small (1.5) compared to others (20) in a stacked bar. Any ideas on how to position these labels. Here is a snippet of code I am currently using: SoftwareFX.ChartFX.SeriesAttributes series = chart1.getSeries(0); series.setPointLabels(true); series.setPointLabelAngle((short) 0); series.setPointLabelAlign(LabelAlign.RIGHT | LabelAlign.VCENTER); series.setPointLabelColor(new Color(0,0,0)); series.setStacked(true); series.setLegend("Complete"); Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.