PointStyle
Namespace: Wisej.Web.Ext.ChartJS4
Assembly: Wisej.Web.Ext.ChartJS4 (4.1.0.0)
Provides constant values for Chart.js point styles.
- C#
- VB.NET
public static class PointStyle
Public Class PointStyle
Use these constants with properties that map to the Chart.js pointStyle option, such as PointStyle. Chart.js also accepts an image or canvas object for this option.
Example:
chart.DataSets.Add(new LineDataSet
{
Label = "Targets",
Data = new object[] { 4, 7, 5 },
PointStyle = PointStyle.Star,
PointRadius = 8
});
Fields
| Name | Type | Description | Value |
|---|---|---|---|
| Circle | String | Circle point ("circle"). This is the Chart.js default. | |
| Cross | String | Cross (plus sign) point ("cross"). | |
| CrossRot | String | Cross rotated by 45 degrees, i.e. an X ("crossRot"). | |
| Dash | String | Dash point, a short line starting at the point center ("dash"). | |
| False | String | Intended to disable point rendering ("false"). | |
| Line | String | Horizontal line point ("line"). | |
| Rect | String | Rectangle point ("rect"). | |
| RectRot | String | Rectangle rotated by 45 degrees, i.e. a diamond ("rectRot"). | |
| RectRounded | String | Rectangle with rounded corners ("rectRounded"). | |
| Star | String | Star point ("star"). | |
| Triangle | String | Triangle point ("triangle"). |