ScaleType
Namespace: Wisej.Web.Ext.ChartJS3
Assembly: Wisej.Web.Ext.ChartJS3 (4.1.0.0)
Type of scale being employed.
- C#
- VB.NET
public enum ScaleType
Public Enum ScaleType
Used by the Type property of the axes. The x axes default to Category and the y axes to Linear.
Example:
// plot values spanning several orders of magnitude.
this.chartJS31.Options.Scales.yAxes[0].Type = ScaleType.Logarithmic;
Fields
| Name | Description | Value |
|---|---|---|
| Category | Labels are drawn in from the labels array included in the chart data. | |
| Linear | The linear scale can be used to display numerical data. It can be placed on either the x or y axis. The scatter chart type automatically configures a line chart to use one of these scales for the x axis. | |
| Logarithmic | The logarithmic scale is used to display logarithmic data of course. It can be placed on either the x or y axis. | |
| RadialLinear | The radial linear scale is used specifically for the radar chart type. | |
| Time | The time scale is used to display times and dates. It can be placed on the x axis. When building its ticks, it will automatically calculate the most comfortable unit base on the size of the scale. |
Used By
| Name | Description |
|---|---|
| OptionScalesAxes.Type | Returns or sets the type of scale being employed. |
| OptionScalesAxesX.Type | Returns or sets the type of scale being employed. |