Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
S
sidekick
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Privat - Marco Schmiedel
sidekick
Commits
f11af2fb
Commit
f11af2fb
authored
Jul 25, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - refactor charts
parent
65d73d21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
18 deletions
+12
-18
barchart.init.js
src/Views/Limitless/Barchart/Attachments/barchart.init.js
+6
-9
linechart.init.js
src/Views/Limitless/Linechart/Attachments/linechart.init.js
+6
-9
No files found.
src/Views/Limitless/Barchart/Attachments/barchart.init.js
View file @
f11af2fb
//#region MAIN FUNCTIONS
function
set_chart
()
{
if
(
typeof
echarts
==
'
undefined
'
)
{
console
.
warn
(
'
Warning - echarts.min.js is not loaded.
'
);
return
;
}
let
chartCounter
=
0
;
$
(
'
.LimitlessBarChart
'
).
each
(
function
()
{
...
...
@@ -315,12 +320,4 @@ function setResizeEvent(chartElement, chartInstance) {
});
}
$
(
document
).
ready
(
function
()
{
if
(
typeof
echarts
==
'
undefined
'
)
{
console
.
warn
(
'
Warning - echarts.min.js is not loaded.
'
);
return
;
}
set_chart
();
});
\ No newline at end of file
$
(
document
).
ready
(
function
()
{
set_chart
();
});
\ No newline at end of file
src/Views/Limitless/Linechart/Attachments/linechart.init.js
View file @
f11af2fb
//#region MAIN FUNCTIONS
function
set_chart
()
{
if
(
typeof
echarts
==
'
undefined
'
)
{
console
.
warn
(
'
Warning - echarts.min.js is not loaded.
'
);
return
;
}
let
chartCounter
=
0
;
$
(
'
.LimitlessLineChart
'
).
each
(
function
()
{
...
...
@@ -460,12 +465,4 @@ function setResizeEvent(chartElement, chartInstance) {
});
}
$
(
document
).
ready
(
function
()
{
if
(
typeof
echarts
==
'
undefined
'
)
{
console
.
warn
(
'
Warning - echarts.min.js is not loaded.
'
);
return
;
}
set_chart
();
});
\ No newline at end of file
$
(
document
).
ready
(
function
()
{
set_chart
();
});
\ No newline at end of file
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