Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/axes/cartesian/time.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The time scale is used to display times and dates. When building its ticks, it w

### Input Data

The x-axis data points may additionally be specified via the `t` attribute when using the time scale.
The x-axis data points may additionally be specified via the `t` or `x` attribute when using the time scale.

data: [{
x: new Date(),
Expand Down Expand Up @@ -64,6 +64,7 @@ var chart = new Chart(ctx, {
options: {
scales: {
xAxes: [{
type: 'time',
time: {
unit: 'month'
}
Expand Down