Comments (2)
The PR #59 is about to be merged and I think can cover this feature mixing the :graph_properties: and :include_properties:. Example in the readme in #68
from gdash.
The PR #59 has ben added.
As described here: https://github.com/ripienaar/gdash#load-dashboard-properties-from-a-external-yaml-file- you can create a file colors.yaml in the templatesdir like:
:graph_properties:
:colors_by_method:
:delete: "#330000"
:create: "#003300"
Then include the properties in the gdash.yaml in each dashboard:
:include_properties:
- "colors.yaml"
- "black-theme.yml"
and you can use it in your graph like this:
field "delete_requests", :data => "stats.api.requests.method.delete",
:color => @properties[:colors_by_method][:delete]
Hope it works.
from gdash.
Related Issues (20)
- Auto-adjust column number to browser width HOT 3
- Question: ability to include partial graph definitions? HOT 2
- Hide the "Source" link on the top right corner
- Apache issues "Not Found" when opening dashboard HOT 2
- using fullscreen option "/full/" does not totally fill the screen, leaves tons of whitespace on left side. HOT 4
- Undocumented required folders, nested dashboards not working
- Gdash promoted to an organisation proposal HOT 10
- Not able to search on dashboards HOT 10
- dashboard layout
- gda.sh
- instructions on how to run gdash
- Feature request: Include an inspect facility HOT 10
- Upgraded to HEAD, fullscreen doesn't work anymore HOT 2
- Provide a default collectd dashboard HOT 5
- whisper_dir HOT 2
- Detailed view - graph size HOT 10
- Gemfile.lock needs to be updated
- Idea: link to graphlot from detailed view HOT 1
- minute/hour functionality of Select Time doesn't work as expected HOT 5
- Order of parameters (time and full) is relevant HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdash.