예제 #1
0
파일: HSSFChart.cs 프로젝트: 89sos98/npoi
	private LineFormatRecord CreateLineFormatRecord2()
	{
		LineFormatRecord r = new LineFormatRecord();
		r.SetLineColor( 0x00808080 );
		r.SetLinePattern( (short) 0 );
		r.SetWeight( (short) 0 );
		r.SetAuto( false );
		r.SetDrawTicks( false );
		r.SetUnknown( false );
		r.SetColourPaletteIndex( (short) 23 );
		return r;
	}
예제 #2
0
파일: HSSFChart.cs 프로젝트: 89sos98/npoi
	private LineFormatRecord CreateLineFormatRecord( bool drawTicks )
	{
		LineFormatRecord r = new LineFormatRecord();
		r.SetLineColor( 0 );
		r.SetLinePattern( LineFormatRecord.LINE_PATTERN_SOLID );
		r.SetWeight( (short) -1 );
		r.SetAuto( true );
		r.SetDrawTicks( drawTicks );
		r.SetColourPaletteIndex( (short) 77 );  // what colour is this?
		return r;
	}