Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
business-java
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Proteus
business-java
Commits
07df1881
Commit
07df1881
authored
Apr 14, 2020
by
CORP\prumde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Month from Chart tooltip
parent
7767628c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
webitm-dashboard/ibase/dashboard/module-resource/sfa/metadataxml/chc/chc_kpi.xml
...dashboard/module-resource/sfa/metadataxml/chc/chc_kpi.xml
+12
-12
No files found.
webitm-dashboard/ibase/dashboard/module-resource/sfa/metadataxml/chc/chc_kpi.xml
View file @
07df1881
...
@@ -157,10 +157,10 @@
...
@@ -157,10 +157,10 @@
callbacks: {
callbacks: {
label: function(tooltipItem, data) {
label: function(tooltipItem, data) {
//console.log('tooltipItem', tooltipItem, data) ;
//console.log('tooltipItem', tooltipItem, data) ;
var currentYear = (data.datasets[0].dataSource == 'YTD') ? ' ' : ' ' + new Date().getFullYear();
//
var currentYear = (data.datasets[0].dataSource == 'YTD') ? ' ' : ' ' + new Date().getFullYear();
var labelTxt = (data.datasets[0].dataSource == 'YTD') ? ' Calls in ' : ' Calls on ';
//
var labelTxt = (data.datasets[0].dataSource == 'YTD') ? ' Calls in ' : ' Calls on ';
//var label = tooltipItem.yLabel + ' Calls on ' + tooltipItem.xLabel + ' 2020 '
;
//var label = tooltipItem.yLabel + labelTxt + tooltipItem.xLabel + currentYear
;
var label = tooltipItem.yLabel +
labelTxt + tooltipItem.xLabel + currentYear
;
var label = tooltipItem.yLabel +
' Calls'
;
return label;
return label;
},
},
title: function(tooltipItem, data) {
title: function(tooltipItem, data) {
...
@@ -279,10 +279,10 @@
...
@@ -279,10 +279,10 @@
callbacks: {
callbacks: {
label: function(tooltipItem, data) {
label: function(tooltipItem, data) {
//console.log('tooltipItem', tooltipItem, data) ;
//console.log('tooltipItem', tooltipItem, data) ;
var currentYear = (data.datasets[0].dataSource == 'YTD') ? ' ' : ' ' + new Date().getFullYear();
//
var currentYear = (data.datasets[0].dataSource == 'YTD') ? ' ' : ' ' + new Date().getFullYear();
var labelTxt = (data.datasets[0].dataSource == 'YTD') ? ' Orders in ' : ' Orders on ';
//
var labelTxt = (data.datasets[0].dataSource == 'YTD') ? ' Orders in ' : ' Orders on ';
//var label = tooltipItem.yLabel + ' Orders on ' + tooltipItem.xLabel + ' 2020 '
;
//var label = '\u20B9 ' + tooltipItem.yLabel + labelTxt + tooltipItem.xLabel + currentYear
;
var label = '\u20B9 ' + tooltipItem.yLabel + labelTxt + tooltipItem.xLabel + currentYear;
var label = '\u20B9 ' + tooltipItem.yLabel + ' Orders';
return label;
return label;
},
},
title: function(tooltipItem, data) {
title: function(tooltipItem, data) {
...
@@ -399,10 +399,10 @@
...
@@ -399,10 +399,10 @@
callbacks: {
callbacks: {
label: function(tooltipItem, data) {
label: function(tooltipItem, data) {
//console.log('tooltipItem', tooltipItem, data) ;
//console.log('tooltipItem', tooltipItem, data) ;
var currentYear = (data.datasets[0].dataSource == 'YTD') ? ' ' : ' ' + new Date().getFullYear();
//
var currentYear = (data.datasets[0].dataSource == 'YTD') ? ' ' : ' ' + new Date().getFullYear();
var labelTxt = (data.datasets[0].dataSource == 'YTD') ? ' Items in ' : ' Items on ';
//
var labelTxt = (data.datasets[0].dataSource == 'YTD') ? ' Items in ' : ' Items on ';
//var label = tooltipItem.yLabel +
' Items on ' + tooltipItem.xLabel + ' 2020 '
;
//var label = tooltipItem.yLabel +
labelTxt + tooltipItem.xLabel + currentYear
;
var label = tooltipItem.yLabel +
labelTxt + tooltipItem.xLabel + currentYear
;
var label = tooltipItem.yLabel +
' Items'
;
return label;
return label;
},
},
title: function(tooltipItem, data) {
title: function(tooltipItem, data) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment