Click or drag to resize

UniversalGeneratorsGetSVGPieChartT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the SVG pie or doughnut chart.

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

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].
isDoughnut (Optional)
Type: SystemBoolean
if set to true [is doughnut].

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