Skip to content
ChartForgeX
Class

ChartWordCloudOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Word cloud sizing, angles and density. Configure it through ChartOptions.WordCloud.

Inheritance

  • object
  • ChartWordCloudOptions

Usage

Explore 30 API references to this type

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

Accepted by parameters 18

Constructors

public ChartWordCloudOptions() #

Methods

public ChartWordCloudOptions FontRange(double minimum, double maximum) #

Sets the smallest and largest term font sizes together.

Parameters

minimum double required
The smallest font size.
maximum double required
The largest font size, not below minimum.

Returns

ChartWordCloudOptions The same options.

Properties

public double MinFontSize { get; set; } #

Gets or sets the smallest font size used by word cloud terms.

public double MaxFontSize { get; set; } #

Gets or sets the largest font size used by word cloud terms.

public double[] Angles { get; set; } #

Gets or sets the deterministic rotation angles used by word cloud terms. Terms are horizontal by default; supply a pattern such as 0, 90 for a deliberate mix of orientations.

public int? MaxTerms { get; set; } #

Gets or sets the optional maximum number of positive-weight terms rendered in a word cloud.

public double Density { get; set; } #

Gets or sets the word cloud packing density from 0.5 to 2.0.

Extension Methods

public static ChartWordCloudOptions Angles(ChartWordCloudOptions chartWordCloudOptions, double[] value) #

Sets ChartWordCloudOptions.Angles: Gets or sets the deterministic rotation angles used by word cloud terms. Terms are horizontal by default; supply a pattern such as 0, 90 for a deliberate mix of orientations.

Parameters

chartWordCloudOptions ChartForgeX.Core.ChartWordCloudOptions required
The instance.
value double[] required
The value.

Returns

ChartWordCloudOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartWordCloudOptions { Angles = value };    chartWordCloudOptions.Angles(value);
public static ChartWordCloudOptions Density(ChartWordCloudOptions chartWordCloudOptions, double value) #

Sets ChartWordCloudOptions.Density: Gets or sets the word cloud packing density from 0.5 to 2.0.

Parameters

chartWordCloudOptions ChartForgeX.Core.ChartWordCloudOptions required
The instance.
value double required
The value.

Returns

ChartWordCloudOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Core.ChartWordCloudOptions { Density = value };    chartWordCloudOptions.Density(value);
public static ChartWordCloudOptions MaxFontSize(ChartWordCloudOptions chartWordCloudOptions, double value) #

Sets ChartWordCloudOptions.MaxFontSize: Gets or sets the largest font size used by word cloud terms.

Parameters

chartWordCloudOptions ChartForgeX.Core.ChartWordCloudOptions required
The instance.
value double required
The value.

Returns

ChartWordCloudOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartWordCloudOptions { MaxFontSize = value };    chartWordCloudOptions.MaxFontSize(value);
public static ChartWordCloudOptions MaxTerms(ChartWordCloudOptions chartWordCloudOptions, int? value) #

Sets ChartWordCloudOptions.MaxTerms: Gets or sets the optional maximum number of positive-weight terms rendered in a word cloud.

Parameters

chartWordCloudOptions ChartForgeX.Core.ChartWordCloudOptions required
The instance.
value int? required
The value.

Returns

ChartWordCloudOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartWordCloudOptions { MaxTerms = value };    chartWordCloudOptions.MaxTerms(value);
public static ChartWordCloudOptions MinFontSize(ChartWordCloudOptions chartWordCloudOptions, double value) #

Sets ChartWordCloudOptions.MinFontSize: Gets or sets the smallest font size used by word cloud terms.

Parameters

chartWordCloudOptions ChartForgeX.Core.ChartWordCloudOptions required
The instance.
value double required
The value.

Returns

ChartWordCloudOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartWordCloudOptions { MinFontSize = value };    chartWordCloudOptions.MinFontSize(value);