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
70f706df
Commit
70f706df
authored
Jul 27, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - data chart manager objects WIP
parent
b463cf54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Index.blade.php
src/Views/Limitless/Linechart/Documentation/Index.blade.php
+4
-3
No files found.
src/Views/Limitless/Linechart/Documentation/Index.blade.php
View file @
70f706df
...
...
@@ -26,6 +26,7 @@
$chartDataManager
->
addSeries
(
$sd
);
$output
=
$chartDataManager
->
toArray
();
// if data manager object is used, should only pass the main object to the chart parameter 'data'
// sample backend data
$categories
=
[
'Jan'
,
'Feb'
,
'Mar'
,
'Apr'
,
'May'
,
'Jun'
,
'July'
,
'Aug'
,
'Sep'
,
'Oct'
,
'Nov'
,
'Dec'
];
...
...
@@ -51,7 +52,7 @@
$multichartSeriesData
[]
=
$multiData
;
}
dd
(
$output
,
$seriesData
,
$categories
);
//
dd($output, $seriesData, $categories);
// json string data should be valid else it will return null
...
...
@@ -158,8 +159,8 @@
@
Limitless
::
CardStart
([
'title'
=>
"Basic Setup"
,
'icon'
=>
'icon-info22'
]
)
@
Limitless
::
LineChart
([
'categories'
=>
$
categories
,
'series'
=>
$
seriesData
,
'categories'
=>
$
output
[
'categories'
]
,
'series'
=>
$
output
[
'series'
]
,
])
@
Limitless
::
CardStop
...
...
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