Unable to use setOpacity() to make both x and y axes invisible in javaFX -


i using javafx plot bubble chart , want background free of of lines including lines x , y axes. have removed horizontal , vertical grid lines , ticks.

this graph looks like

snapshot

i trying remove faint grey line x axis can seen @ bottom. remove yaxis set yaxis.setopacity(0) makes yaxis invisible when same x axis left line. can not perform setopacity() function both axes simultaneously? if not how remove line?

here list of statements have tried far:-

    blc.getxaxis().setticklabelsvisible(false);     blc.getyaxis().setticklabelsvisible(false);     blc.setverticalgridlinesvisible(false);     blc.sethorizontalgridlinesvisible(false);     xaxis.setminortickvisible(false);     blc.setlegendvisible(false);     blc.getyaxis().setopacity(0);     blc.getxaxis().setopacity(0);     xaxis.setticklabelsvisible(false);     xaxis.settickmarkvisible(false);     yaxis.setticklabelsvisible(false);     yaxis.settickmarkvisible(false); 

where blc object bubble chart class


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -