chartjs / chartjs/Chart.js

3.x Migration Guide: `lineTension` => `tension`

Open
#11,928 0 comments 0 reactions 0 assignees View on GitHub
type: documentation
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Documentation Is:

- [X] Missing or needed?
- [ ] Confusing
- [ ] Not sure?

### Please Explain in Detail...

I am migrating an old code base from 2.9.4 to 3.9.1.

I noticed after following the *3.x Migration Guide* that my line charts are no longer displayed with interpolated lines.

- According to [3.9.1 documentation](https://www.chartjs.org/docs/3.9.1/charts/line.html#dataset-properties) Line Chart Dataset Properties default value for **tension** is `0`
- In 2.9.4, this setting was controlled by **lineTension** property with default value `0.4` [reference](https://www.chartjs.org/docs/2.9.4/charts/line.html#dataset-properties)

### Your Proposal for Changes

The property's new name and default value should be documented in the 3.x Migration Guide.

### Example

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.