indicatrix/elm-chartjs-webcomponent/2.0.0

NOTE: the latest version is 3.0.0

Chartjs.Common

Common types used for various configuration properties

= Circle
| Cross
| CrossRot
| Dash
| Line
| Rect
| RectRounded
| RectRot
| Star
| Triangle
| Image String
type LineCap
= LineCapButt
| LineCapRound
| LineCapSquare
= LineJoinBevel
| LineJoinRound
| LineJoinMiter
= Top
| Left
| Bottom
| Right

Positioning often used in options such as axes and legends

type Align
= Start
| End
| Center

Alignment for certain text properties, such as title

= All a
| PerPoint (List a)

Many properties that apply to datasets can either be applied to the whole dataset, or to each individual point

For applying a property to every point in the dataset, use the All type For using a list of properties on a per-point basis, use the PerPoint type

= XAxis
| YAxis

Some charts can be transformed from horizontal to vertical by setting the index axis XAxis will produce a vertical chart (this is the default) YAxis will produce a horizontal chart