2010-10-19 25 views

Respuesta

22

Puede usar setVisible(), como se muestra a continuación.

XYPlot plot = (XYPlot) chart.getPlot(); 
ValueAxis range = plot.getRangeAxis(); 
range.setVisible(false); 
+3

¡Eres un verdadero experto en jFreeChart y tu ayuda es muy útil! ¡Gracias! –

-1

ocultar etiquetas horizontales y verticales

gama ValueAxis = xyPlot.getRangeAxis();

range.setVisible (false);

ValueAxis domain = xyPlot.getDomainAxis();

domain.setVisible (false);