HtmlForgeX

API Reference

Class

ChartXkcdSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Settings builder for ChartXkcd.

Inheritance

  • Object
  • ChartXkcdSettings

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

BackgroundColor 2 overloads
public ChartXkcdSettings BackgroundColor(RGBColor color) #
Returns: ChartXkcdSettings

Sets the chart background color.

Parameters

color System.String requiredposition: 0
BackgroundColor(HtmlForgeX.RGBColor color) #

Sets the chart background color.

Parameters

color HtmlForgeX.RGBColor required
Colors 2 overloads
public ChartXkcdSettings Colors(params RGBColor[] colors) #
Returns: ChartXkcdSettings

Sets explicit dataset colors.

Parameters

colors System.String[] requiredposition: 0
Colors(HtmlForgeX.RGBColor[] colors) #

Sets explicit dataset colors.

Parameters

colors HtmlForgeX.RGBColor[] required
public ChartXkcdSettings DotSize(Double size) #
Returns: ChartXkcdSettings

Sets the dot size for supported chart types.

Parameters

size System.Double requiredposition: 0
public ChartXkcd End() #
Returns: ChartXkcd

Returns the root chart builder.

public ChartXkcdSettings FollowTheme(Boolean enabled = true) #
Returns: ChartXkcdSettings

Enables or disables document-theme synchronization.

Parameters

enabled System.Boolean = true optionalposition: 0
public ChartXkcdSettings FontFamily(String fontFamily) #
Returns: ChartXkcdSettings
EditorBrowsable(2)

Sets the font family.

Parameters

fontFamily System.String requiredposition: 0
public ChartXkcdSettings InnerRadius(Double radius) #
Returns: ChartXkcdSettings

Sets the inner radius for pie/doughnut charts.

Parameters

radius System.Double requiredposition: 0
public ChartXkcdSettings LazyInit(Boolean enabled = true) #
Returns: ChartXkcdSettings

Enables or disables lazy initialization.

Parameters

enabled System.Boolean = true optionalposition: 0
public ChartXkcdSettings LegendPosition(ChartXkcdLegendPosition position) #
Returns: ChartXkcdSettings

Sets the legend position.

Parameters

position HtmlForgeX.ChartXkcdLegendPosition requiredposition: 0
public ChartXkcdSettings Options(Action<ChartXkcdOptions> configure) #
Returns: ChartXkcdSettings

Configures advanced chart.xkcd options.

Parameters

configure System.Action{HtmlForgeX.ChartXkcdOptions} requiredposition: 0
public ChartXkcdSettings ShowLabels(Boolean show = true) #
Returns: ChartXkcdSettings

Shows or hides radar labels.

Parameters

show System.Boolean = true optionalposition: 0
public ChartXkcdSettings ShowLegend(Boolean show = true) #
Returns: ChartXkcdSettings

Shows or hides the legend.

Parameters

show System.Boolean = true optionalposition: 0
public ChartXkcdSettings ShowLine(Boolean show = true) #
Returns: ChartXkcdSettings

Connects or disconnects XY points with a line.

Parameters

show System.Boolean = true optionalposition: 0
Size 2 overloads
public ChartXkcdSettings Size(TablerWidth width = null, TablerHeight height = null) #
Returns: ChartXkcdSettings

Sets the SVG size.

Parameters

width HtmlForgeX.TablerWidth = null optionalposition: 0
height HtmlForgeX.TablerHeight = null optionalposition: 1
public ChartXkcdSettings Size(String width = null, String height = null) #
Returns: ChartXkcdSettings
EditorBrowsable(2)

Sets the SVG size from raw CSS lengths.

Parameters

width System.String = null optionalposition: 0
height System.String = null optionalposition: 1
public ChartXkcdSettings Sketch(Boolean enabled = true) #
Returns: ChartXkcdSettings

Enables or disables the sketch effect.

Parameters

enabled System.Boolean = true optionalposition: 0
StrokeColor 2 overloads
public ChartXkcdSettings StrokeColor(RGBColor color) #
Returns: ChartXkcdSettings

Sets the stroke color.

Parameters

color System.String requiredposition: 0
StrokeColor(HtmlForgeX.RGBColor color) #

Sets the stroke color.

Parameters

color HtmlForgeX.RGBColor required
public ChartXkcdSettings TicksCount(Int32 count) #
Returns: ChartXkcdSettings

Sets the radar tick count.

Parameters

count System.Int32 requiredposition: 0
public ChartXkcdSettings TimeFormat(String timeFormat) #
Returns: ChartXkcdSettings

Sets the XY time format.

Parameters

timeFormat System.String requiredposition: 0
public ChartXkcdSettings XTickCount(Int32 count) #
Returns: ChartXkcdSettings

Sets the X-axis tick count.

Parameters

count System.Int32 requiredposition: 0
public ChartXkcdSettings YTickCount(Int32 count) #
Returns: ChartXkcdSettings

Sets the Y-axis tick count.

Parameters

count System.Int32 requiredposition: 0