Configuration
General
In /etc/grafana/grafana.ini
file change line to update default theme
default_theme = light
Open plugins tab and select Data sources then select All. Type Olsson in the search field. Install CSV, JSON API and Static plugins.
Anonymous access
Only use after securing the data source and providing "synthetic" data to fill any board.
This needs to be updates/added to /etc/grafana/grafana.ini
file
[auth.anonymous]
# enable anonymous access
enabled = true
# specify organization name that should be used for unauthenticated users
org_name = "ScheduleInterpreter.com, Inc."
# specify role for unauthenticated users
org_role = Viewer
# mask the Grafana version number for unauthenticated users
hide_version = true
Testing
Select Add new panel.
Open plugins dropdown and select ECharts option.
In the code block where the data is processed alter content of the type key to scatter, line or bar.
return {
name: s.name,
type: 'scatter',
showSymbol: false,
areaStyle: {
opacity: 0.1,
},
lineStyle: {
width: 1,
},
data: sData.map((d, i) => [sTime[i], d.toFixed(2)]),
};