Skip to content

Commit

Permalink
UPDATE minor fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasKulhanek committed Dec 18, 2020
1 parent 0edc592 commit 82b1f47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions docs/usersguide/chartjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ barplot chart with minimum/maximum and normal range
id="id11"
fromid="id4"
refindex="2"
extremelimits="0,1"
normallimits="6.9,7.1">
extremelimits="4,8"
normallimits="6.9,7.1"
initialdata="7">
</bdl-chartjs-barplot>

6 changes: 3 additions & 3 deletions src/elements/chartjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class Chartjs {
* process all attributes of <bdl-chart> component and sets appropriate settings of subesquent chartjs
*/
bind() {
console.log('chartjs bind');
//console.log('chartjs bind');
this.refindex = parseInt(this.refindex, 10);
this.refvalues = parseInt(this.refvalues, 10);
this.refendindex = this.refindex + this.refvalues;
Expand Down Expand Up @@ -214,7 +214,7 @@ export class Chartjs {
* this is called when the DOM is attached to view - instantiate the chartjs and sets all necesary binding
*/
attached() {
console.log('chartjs attached');
//console.log('chartjs attached');
//listening to custom event fmidata and fmireset
const fromel = document.getElementById(this.fromid);
if (fromel) {
Expand Down Expand Up @@ -363,7 +363,7 @@ export class Chartjs {
options: this.options,
tooltipEvents: ['mousemove', 'touchstart', 'touchmove', 'click']
});
console.log('chartjs data', this.data);
// console.log('chartjs data', this.data);
}

/**
Expand Down

0 comments on commit 82b1f47

Please sign in to comment.