C# 클래스 Phresco.FusionCharts.Utils

Contains several very useful and required methods used to generate charts. Most the methods are statics.
파일 보기 프로젝트 열기: photon-infotech/sharepoint-resource-management

공개 프로퍼티들

프로퍼티 타입 설명
DefaultHeight int
DefaultWidth int
FeaturePath string

공개 메소드들

메소드 설명
ConvertChartTypeToPath ( ChartType chartType ) : string

Converts a ChartType into a path that can be used with RenderChartHTML function

ConvertChartTypeToPath ( ChartTypeRestricted chartType ) : string

Converts a ChartType into a path that can be used with RenderChartHTML function

GenerateRandomId ( ) : int

Generate a random number that will become the HTML ID of the chart

GetDefaultColors ( ) : string

Returns the default colors in a string. Colors are separated by semi columns (;)

GetXmlDataSample ( ChartType type ) : string

Returns sample XML data to feed and generate charts

IsSSL ( ) : bool

Determines if the current connection is SSL based or not

RenderChart ( string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS ) : string

Generates the Fusion Chart based on script

RenderChartHTML ( ChartType chartType, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode ) : string

Generate the fusion chart based on HTML

RenderChartHTML ( ChartTypeRestricted chartType, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode ) : string

Generate the fusion chart based on HTML

비공개 메소드들

메소드 설명
boolToNum ( bool value ) : int

Converts a boolean into a numeric value

메소드 상세

ConvertChartTypeToPath() 공개 정적인 메소드

Converts a ChartType into a path that can be used with RenderChartHTML function
public static ConvertChartTypeToPath ( ChartType chartType ) : string
chartType ChartType The type of the chart
리턴 string

ConvertChartTypeToPath() 공개 정적인 메소드

Converts a ChartType into a path that can be used with RenderChartHTML function
public static ConvertChartTypeToPath ( ChartTypeRestricted chartType ) : string
chartType ChartTypeRestricted The type of the chart
리턴 string

GenerateRandomId() 공개 정적인 메소드

Generate a random number that will become the HTML ID of the chart
public static GenerateRandomId ( ) : int
리턴 int

GetDefaultColors() 공개 정적인 메소드

Returns the default colors in a string. Colors are separated by semi columns (;)
public static GetDefaultColors ( ) : string
리턴 string

GetXmlDataSample() 공개 정적인 메소드

Returns sample XML data to feed and generate charts
public static GetXmlDataSample ( ChartType type ) : string
type ChartType
리턴 string

IsSSL() 공개 정적인 메소드

Determines if the current connection is SSL based or not
public static IsSSL ( ) : bool
리턴 bool

RenderChart() 공개 정적인 메소드

Generates the Fusion Chart based on script
public static RenderChart ( string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS ) : string
chartSWF string
strURL string
strXML string
chartId string
chartWidth string
chartHeight string
debugMode bool
registerWithJS bool
리턴 string

RenderChartHTML() 공개 정적인 메소드

Generate the fusion chart based on HTML
public static RenderChartHTML ( ChartType chartType, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode ) : string
chartType ChartType
strURL string
strXML string
chartId string
chartWidth string
chartHeight string
debugMode bool
리턴 string

RenderChartHTML() 공개 정적인 메소드

Generate the fusion chart based on HTML
public static RenderChartHTML ( ChartTypeRestricted chartType, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode ) : string
chartType ChartTypeRestricted
strXML string
chartId string
chartWidth string
chartHeight string
debugMode bool
리턴 string

프로퍼티 상세

DefaultHeight 공개적으로 정적으로 프로퍼티

public static int DefaultHeight
리턴 int

DefaultWidth 공개적으로 정적으로 프로퍼티

public static int DefaultWidth
리턴 int

FeaturePath 공개적으로 정적으로 프로퍼티

public static string FeaturePath
리턴 string