Krysalis jCharts
  Font size:      

Chart Borders


Adding a Border

No border is drawn around the charts by default. You can change that by assigning a ChartStroke Object to the ChartProperties. There is a default border implementation of ChartStroke.DEFAULT_CHART_OUTLINE.

ChartStroke borderStroke= new ChartStroke( new BasicStroke( 2.0f ), );
chartProperties.setBorderStroke( borderStroke );
Chart Border

Valid HTML 4.01!Valid CSS!