Click or drag to resize

UniversalGeneratorsGetSVGChartT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Namespace:  imbSCI.Graph.Graphics
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static string GetSVGChart<T>(
	this IEnumerable<T> source,
	Func<T, string> titleSelector,
	Func<T, double> valueSelector,
	bool is3D = false,
	bool isBarChart = false,
	short depth = 10
)

Parameters

source
Type: System.Collections.GenericIEnumerableT
The source.
titleSelector
Type: SystemFuncT, String
The title selector.
valueSelector
Type: SystemFuncT, Double
The value selector.
is3D (Optional)
Type: SystemBoolean
if set to true [is3 d].
isBarChart (Optional)
Type: SystemBoolean
if set to true [is bar chart].
depth (Optional)
Type: SystemInt16
The depth.

Type Parameters

T

Return Value

Type: String
SVG string code

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also