use of org.swtchart.LineStyle in project netxms by netxms.
the class LineChart method setGridVisible.
/* (non-Javadoc)
* @see org.netxms.ui.eclipse.charts.api.DataChart#setGridVisible(boolean)
*/
@Override
public void setGridVisible(boolean visible) {
gridVisible = visible;
final LineStyle ls = visible ? LineStyle.DOT : LineStyle.NONE;
getAxisSet().getXAxis(0).getGrid().setStyle(ls);
getAxisSet().getYAxis(0).getGrid().setStyle(ls);
}
Aggregations