Skip to content

Adjust class checks for compatibility with Chartist v1 #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 2, 2023
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Node CI

on: [push]
on: [push, pull_request]

jobs:
build:
Expand All @@ -9,12 +9,12 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [14, 16, 18]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ node_modules
#Idea files
.idea
*.iml

# Jasmine
_SpecRunner.html
120 changes: 87 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,102 @@
# Chartist Plugin Tooltip Changelog
# Changelog

### master
All notable changes to this project will be documented in this file.

### 0.1.4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

* [ENCHANTMENT] Upgraded a lot of dependencies
* [ENCHANTMENT] Minimized JavaScript file did shrink ~100 Bytes (3771 Bytes -> 3678 Bytes)
## [Unreleased]

### 0.1.3
## [1.0.0] - 2nd January 2023

* [ENCHANTMENT] Added supports for the IE11 - [#9](https://github.com/LukBukkit/chartist-plugin-tooltip/pull/9)
Versions 1.0.0 and above of this plugin only work with Chartist versions of 1.0.0 and above.

### 0.1.2
### Added
- Support for Chartist v1

* [ENHANCEMENT] Added support for the solid donut graph
### Removed
- Support for Chartist version older than v1

### 0.1.1
## [0.1.4] - 8th July 2020

* [BUGFIX] Fixed the wrong position of a tooltip when `appendToBody:true` is used
* [CHANGE] The default value of `appendToBody` is now `true` (was `false`), because it's more efficent
* [CHANGE] The css property `position` of tooltip now has be `absolute`
### Changed
- Upgraded a lot of dependencies
- Minimized JavaScript file did shrink ~100 Bytes (3771 Bytes -> 3678 Bytes)

### 0.0.21
* [BUGFIX] Fixed the position of the tooltips when there are multiple charts
## [0.1.3] - 30th December 2019

### 0.0.20
* [BUGFIX] Fixed issue checking chart type when uglified
* [BUGFIX] Fixed width/height being incorrect
* [BUGFIX] Fixed memory leak
* [ENHANCEMENT] Switched to Yarn
* [ENHANCEMENT] Added less file to the dist folder
* [CHANGE] The exported object is now called `Chartist.plugins.tooltip` instead of `Chartist.plugins.tooltips`.
The `s` at the end of the tooptip is now missing.
### Added
- Support for the IE11 - [#9](https://github.com/LukBukkit/chartist-plugin-tooltip/pull/9)

### 0.0.11
* [BUGFIX] Tooltips now working properly on Firefox
* [ENHANCEMENT] Added custom tooltip using options.tooltipFnc
## [0.1.2] - 30th July 2019

### 0.0.10
* [BUGFIX] Set currency default to `undefined`. Fixes issue in chartist.js 0.7.4.
### Added
- Support for the solid donut graph

### 0.0.9
* [BUGFIX] Fixed new pie chart label mechanism
## [0.1.1] - 7th April 2019

### 0.0.8
* [BUGFIX] Removed Ember reference
* [ENHANCEMENT] For pie chart tooltips also take the labels into account if no meta is given
### Fixed
- Fixed the wrong position of a tooltip when `appendToBody:true` is used

### Changed
- The default value of `appendToBody` is now `true` (was `false`), because it's more efficient
- The css property `position` of tooltip now has be `absolute`

## [0.0.21] - 22nd July 2018

### Fixed
- Fixed the position of the tooltips when there are multiple charts

## [0.0.20] - 16th July 2015

### Added
- Added less file to the dist folder

### Fixed
- Fixed issue checking chart type when uglified
- Fixed width/height being incorrect
- Fixed memory leak

### Changed
- Switched internally to Yarn
- The exported object is now called `Chartist.plugins.tooltip` instead of `Chartist.plugins.tooltips`.
The `s` at the end of the tooltip is now missing.

## [0.0.11] - 28th April 2015

### Added
- Added custom tooltip using options.tooltipFnc

### Fixed
- Tooltips now working properly on Firefox

## [0.0.10] - 20th April 2015

### Fixed
- Set currency default to `undefined`. Fixes issue in chartist.js 0.7.4.

## [0.0.9] - 16th April 2015

### Fixed
- Fixed new pie chart label mechanism

## [0.0.8] - 16th April 2015

### Added
- For pie chart tooltips also take the labels into account if no meta is given

### Fixed
- Removed Ember reference

[unreleased]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.4...v1.0.0
[0.1.4]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.3...v0.1.4
[0.1.3]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.21...v0.1.1
[0.0.21]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.20...v0.0.21
[0.0.20]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.11...v0.0.20
[0.0.11]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.10...v0.0.11
[0.0.10]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.9...v0.0.10
[0.0.9]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.8...v0.0.9
[0.0.8]: https://github.com/LukBukkit/chartist-plugin-tooltip/releases/tag/v0.0.8
Loading