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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -