This question is locked. New answers and comments are not allowed.
I have the following code
BarSeries weekBarSeries =
new
BarSeries();
weekBarSeries.setCategoryBinding(
new
PropertyNameDataPointBinding(
"DayOfWeek"
));
weekBarSeries.setValueBinding(
new
PropertyNameDataPointBinding(
"EnrollmentCount"
));
weekBarSeries.setDataPointRenderer(
new
CustomBarChartRenderer(
weekBarSeries, WEEK_SERIES_COLORS));weekBarSeries.setData(oneWeek);
weekBarSeries.setShowLabels(
true
);
weekBarSeries.setLabelFillColor(Color.TRANSPARENT);
weekBarSeries.setLabelStrokeColor(Color.TRANSPARENT);
weekBarSeries.setLabelTextColor(0xff84cc28);
weekChartView.getSeries().add(weekBarSeries);
CategoricalAxis weekHorizontalAxis =
new
CategoricalAxis();
weekChartView.setHorizontalAxis(weekHorizontalAxis);
LinearAxis weekVerticalAxis =
new
LinearAxis();
weekVerticalAxis.setLabelFormat(
"%2.0f"
);
weekChartView.setVerticalAxis(weekVerticalAxis);
upTitle.setText(DESApplication.getInstance().getCustomString(
"screen_02_chart1_title"
));
upper.addView(weekChartView);
However, the style of the labels remains the same as the default style - light blue boxes with white text.
Rich