GithubHelp home page GithubHelp logo

Comments (6)

vimalk78 avatar vimalk78 commented on August 19, 2024 1

i also thought of the same changes, + perhaps change class name from GraphPanel to TimeSeriesPanel ?
I can submit a PR.

from pcm.

rdementi avatar rdementi commented on August 19, 2024

thanks for opening the issue. Let us know if you able to submit a pull request. If not we will address it asap

from pcm.

ogbrugge avatar ogbrugge commented on August 19, 2024

If you edit the panel it will propose a conversion. Accept the conversion, look at the difference in the Grafana xml, then modify the Grafana generator to use the converted code. Should not be too hard if you know a little scripting.

from pcm.

rdementi avatar rdementi commented on August 19, 2024

it turned out to be easier than I thought:

diff --git a/src/dashboard.cpp b/src/dashboard.cpp
index 97a827f..62c7d2e 100644
--- a/src/dashboard.cpp
+++ b/src/dashboard.cpp
@@ -325,7 +325,7 @@ public:
         "sort": 0,
         "value_type": "individual"
       },
-      "type": "graph",
+      "type": "timeseries",
       "xaxis": {
         "buckets": null,
         "mode": "time",

from pcm.

rdementi avatar rdementi commented on August 19, 2024

i also thought of the same changes, + perhaps change class name from GraphPanel to TimeSeriesPanel ? I can submit a PR.

that would be awesome

from pcm.

vimalk78 avatar vimalk78 commented on August 19, 2024

PR for fix: #732

from pcm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.