no matter if i try:
chart.getYAxis() .setAxisTitleText("someTitle") .setLabels(new YAxisLabels() .setOption("color", "#000000"));
or
chart.getYAxis() .setAxisTitleText("someTitle") .setLabels(new YAxisLabels() .setColor("#000000"));
chart.getYAxis() .setAxisTitleText("someTitle") .setLabels(new YAxisLabels() .setStyle(new Style() .setColor("#000000") ) );
It is allways show with the default blue.
THX 4 any help
ok, i answer this myself :/
chart.getYAxis() .setAxisTitle(new AxisTitle() .setText(constants.dashChartAxisNameAlerts()) .setStyle(new Style() .setColor("#000000") ) ) ;
that works. for me it is still a little confusing when which option 'counts' at which element.
but maybe this thread will help someone else ;)
Log in to post a comment.
no matter if i try:
chart.getYAxis()
.setAxisTitleText("someTitle")
.setLabels(new YAxisLabels()
.setOption("color", "#000000"));
or
chart.getYAxis()
.setAxisTitleText("someTitle")
.setLabels(new YAxisLabels()
.setColor("#000000"));
or
chart.getYAxis()
.setAxisTitleText("someTitle")
.setLabels(new YAxisLabels()
.setStyle(new Style()
.setColor("#000000")
)
);
It is allways show with the default blue.
THX 4 any help
ok, i answer this myself :/
chart.getYAxis()
.setAxisTitle(new AxisTitle()
.setText(constants.dashChartAxisNameAlerts())
.setStyle(new Style()
.setColor("#000000")
)
)
;
that works.
for me it is still a little confusing when which option 'counts' at which element.
but maybe this thread will help someone else ;)