Krysalis jCharts
 
  Font size:      
 

Chart Borders

PDF
PDF

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 ), Color.red );
chartProperties.setBorderStroke( borderStroke );
			
Chart Border


Valid HTML 4.01!Valid CSS!