Comments (7)
Unfortunatly, the last published version of Plotly panel on Grafana Plugin Repository is not compliant with Grafana 7.2.
You have to install manually v0.3.1.
I also did a pull request to publish this latest version but it has to be approuved and merged by the Grafana Team.
from ae3e-plotly-panel.
I can confirm that 0.3.1 works fine with 7.3.1.
from ae3e-plotly-panel.
Please keep in mind I have only hacked together a simple proof of concept but it was around a Candlestick. The time scale is not changing with the time picker but I think that is unrelated to the information below. This is either from the defaults when the panel is added or modifications from the Plotly javascript candlestick. To figure out the "script" section, it may be help to "inspect" the panel, look at the Panel JavaScript, and then look at the "Data Javascript" to see the structure of the data.
In the Plotly Panel "data" section I have...
[
{
"line": {
"color": "red",
"width": 2
},
"type": "candlestick"
}
]
In the Plotly Panel "layout" section I have...
{
"font": {
"color": "darkgrey"
},
"paper_bgcolor": "rgba(0,0,0,0)",
"plot_bgcolor": "rgba(0,0,0,0)",
"margin": {
"t": 30,
"b": 20
},
"xaxis": {
"type": "date",
"rangeslider": {
"visible": false
}
}
}
In the Plotly Panel "data" section I have...
{
"font": {
"color": "darkgrey"
},
"paper_bgcolor": "rgba(0,0,0,0)",
"plot_bgcolor": "rgba(0,0,0,0)",
"margin": {
"t": 30,
"b": 20
},
"xaxis": {
"type": "date",
"rangeslider": {
"visible": false
}
}
}
In the Plotly Panel "configuration" section I have...
{
"displayModeBar": false
}
In the "Script" section I have...
console.log(data)
r trace5 = {
x: data.series[0].fields[0].values.buffer,
close: data.series[0].fields[1].values.buffer,
high: data.series[1].fields[1].values.buffer,
low: data.series[2].fields[1].values.buffer,
open: data.series[3].fields[1].values.buffer
};
return {data:[trace5],layout:{title:'Fred2 Chart'}};
from ae3e-plotly-panel.
I hope your pull request will be accepted soon. Will it than also work for Grafana 7.3.1?
from ae3e-plotly-panel.
Not tested yet but it's on the task list..
from ae3e-plotly-panel.
Thanks for reporting this !
from ae3e-plotly-panel.
Is it possible to display CandleStick charts (aka OHLCV candles)?
Could you please provide an example how to do this?
How much would you like to get for this feature?
(Currently I use Grafana v7.5.5 )
from ae3e-plotly-panel.
Related Issues (20)
- Autoscale plot to fit the panel HOT 1
- Support for Grafana 8 HOT 4
- Click Script gives error and not updating variables HOT 6
- installation broken HOT 1
- Changing timerange or refreshing prompts browser for saving changes when closing dashboard HOT 2
- Just a shout out
- Using Grafana graph-hover to modify input data to graph
- Cannot read properties of undefined (reading 'text') - Grafana 8.0+ - Plotly - Elasticsearch HOT 1
- Sunburst on-click marker expansion not working
- shared_xaxes
- Error when using ad-hoc filters
- JS Library Import HOT 2
- Add maintainer HOT 1
- Grafana Version 7.2
- Support for Localization? HOT 2
- Render plot inside custom div
- [Announcement 📣] Updated fork of project - check link inside!
- -- apologies - deleled comment --
- Is possible to do animation map method?
- Timezone selected in the Grafana time picker dropdown UI is not taken into consideration
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 ae3e-plotly-panel.