C# Class PdfReportSamples.ChartImage.MSChartHelper

Mostra file Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method Description
AddChartToPage ( Document pdfDoc, int scalePercent = 100, float spacingBefore = 50, float spacingAfter = 10, float widthPercentage = 80 ) : void
AddXY ( object xValue ) : void

Do not pass an object to the AddXY method here. Extract its X and Y values and cast them to one of the following types directly, before using them: Double, Decimal, Single, int, long, uint, ulong, String, DateTime, short, ushort

ChartInit ( int width, int height ) : void
FreeResources ( ) : void

Private Methods

Method Description
setBorder ( ) : void
setChartAreas ( ) : void
setLegends ( ) : void
setSeries ( ) : void
setTitles ( ) : void

Method Details

AddChartToPage() public method

public AddChartToPage ( Document pdfDoc, int scalePercent = 100, float spacingBefore = 50, float spacingAfter = 10, float widthPercentage = 80 ) : void
pdfDoc iTextSharp.text.Document
scalePercent int
spacingBefore float
spacingAfter float
widthPercentage float
return void

AddXY() public method

Do not pass an object to the AddXY method here. Extract its X and Y values and cast them to one of the following types directly, before using them: Double, Decimal, Single, int, long, uint, ulong, String, DateTime, short, ushort
public AddXY ( object xValue ) : void
xValue object
return void

ChartInit() public method

public ChartInit ( int width, int height ) : void
width int
height int
return void

FreeResources() public method

public FreeResources ( ) : void
return void