![]() If not set, this is inferred from the first character of the ID which should be 'x' or 'y'. Used to determine the amount of allocated space for the scale within the group. Axes at the same position with same stack are stacked. ![]() If true, clip the dataset drawing against the size of the scale instead of chart area The minimum display format to be used for a time unit. See Time Units section below for details. If defined, will force the unit to be a certain type. The format string to use for the tooltip. See Time Units below for the allowed units. If defined, dates will be rounded to the start of this unit. If number, the index of the first day of the week (0 - Sunday, 6 - Saturday) If boolean and true and the unit is set to 'week', then the first day of the week will be Monday. Sets how different time units are displayed. If true, bar chart offsets are computed with auto skipped ticks. Options for adapter for external date library if that adapter needs or supports options The maximum item to display if there is no datapoint behind it. The minimum item to display if there is no datapoint before it. # Configuration Options # Time Axis specific options You should use timestamps if you'd like to set parsing: false for better performance. However, Chart.js also supports all of the formats that your chosen date adapter accepts. When providing data for the time scale, Chart.js uses timestamps defined as milliseconds since the epoch (midnight January 1, 1970, UTC) internally. ![]() Please choose from the available adapters (opens new window). The time scale requires both a date library and a corresponding adapter to be present. When building its ticks, it will automatically calculate the most comfortable unit base on the size of the scale. ![]() Data are spread according to the amount of time between data points. The time scale is used to display times and dates. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |