Skip to content

Releases: Makanz/chartjs-plugin-trendline

v2.1.6

06 Nov 11:41
7dd4dac
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.5...v2.1.6

v2.1.5

19 Sep 20:00
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.4...v2.1.5

v2.1.4

13 Sep 20:29
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.3...v2.1.4

v2.1.3

26 Aug 20:47
Compare
Choose a tag to compare

Full Changelog: v2.1.2...v2.1.3

v2.1.2

11 Jul 05:52
Compare
Choose a tag to compare

Fixed a bug in version 2.1.1

v2.1.1

24 Jun 20:37
Compare
Choose a tag to compare

Full Changelog: v2.1.0...v2.1.1

v2.1.0

05 Feb 14:41
Compare
Choose a tag to compare

What's Changed

  • Fix some ES6 syntax issue and add support for getting axis keys from options by @elesueur in #85

New Contributors

Full Changelog: v2.0.5...v2.1.0

v2.0.5

25 Sep 20:19
Compare
Choose a tag to compare

Solved issue #81 with lineStyle not working correctly when using multiple datasets

v2.0.4

13 Sep 19:16
b72fb07
Compare
Choose a tag to compare

Solves issue #80

v2.0.3

23 May 20:22
Compare
Choose a tag to compare

Solves the problem when the data object contains both numbers and strings

Example:

let chartData = {
    datasets: [
        {
            label: 'Data One',
            backgroundColor: '#f87979',
            data: [
                { y: 40, x: 'January' },
                { y: 20, x: 'February' },
                { y: 12, x: 'March' },
                { y: 39, x: 'April' },
                { y: 10, x: 'May' },
                { y: 40, x: 'June' },
                { y: 39, x: 'July' },
                { y: 80, x: 'August' },
                { y: 40, x: 'September' },
                { y: 20, x: 'October' },
                { y: 12, x: 'November' },
                { y: 11, x: 'December' },
            ],
            trendlineLinear: {
                colorMin: '#2d9cdb',
                colorMax: '#2d9cdb',
                lineStyle: 'solid',
                width: 2,
            },
        },
    ],
}