Natalie Carr Natalie Carr - 1 year ago 198
Android Question

AndroidPlot Change color of domain and range labels

I am using the AndroidPlot library and am trying to change the colour of the domain and range labels.

I set them like so:

//Setting the names of the axis
XYPlot.setRangeLabel("# of Alerts");

By default they are white but are barely visible against my cream background. Does anyone know how I can change these to black please?

Answer Source

You want something like


For the label it would be something like

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download