Comments (8)
canvas
work for me. Could it be a caching issue?
from cgp.
I am on FireFox. I have cleared cache and same error. Also tried on IE on windows 8.1. This error is displayed only in detail.php.
from cgp.
Could you show your config and/ or use View source and get the HTML source of the canvas tag containing the options?
from cgp.
HTML source
config.local.php
config.php
I also have PHP NOTICE in apache error.log. This however shows regardless of graph_type
from cgp.
For the E_NOTICE message, please open a new bug and insert the debugging information after applying the following patch and visiting that URL:
diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php
index 761f7c4..661ec23 100644
--- a/inc/collectd.inc.php
+++ b/inc/collectd.inc.php
@@ -75,6 +75,7 @@ function collectd_plugindata($host, $plugin=NULL) {
# only return data about one plugin
if (!is_null($plugin)) {
$pdata = array();
+ print_R($data);
foreach($data as $item) {
if ($item['p'] == $plugin)
$pdata[] = $item;
For this bug, the issue is exposed by $CONFIG['graph_smooth'] = true;
and occurs because jsrrdgraph always assumes that options take a value which is not the case here. Let's see what can be done for that.
from cgp.
Try:
git clone --recursive https://github.com/Lekensteyn/CGP.git -b jsrrdgraph-as-submodule
from cgp.
Works with:
$CONFIG['graph_smooth'] = true;
$CONFIG['graph_type'] = 'hybrid';
👍 THX for your super quick fix.
For #88 (comment) I will open a new bug report and i have some ideas how to fix this.
from cgp.
Thanks Peter for fixing this! 👍
from cgp.
Related Issues (20)
- missing order when using one file with multiple data_sources
- I want to see the dynamic changes without refreshing the browser. How to set ? HOT 3
- Notice: Undefined variable: html_weburl in /cgp/inc/html.inc.php on line 131 HOT 1
- Support parallel panning/zoom
- Create new release? HOT 2
- -nan vlaues in graph
- Detailed size and canvas mode
- $CONFIG['WEBURL'] and root of a server
- SVG images are in points not pixels
- use setlocale() for escapeshellarg() HOT 1
- rrd-files are not compressed HOT 15
- sync view of same-page graphs
- don't group all SMART attributes by type HOT 1
- ERROR: No DS called 'value' in ... disk_io_time.rrd' HOT 1
- No Graphs Generated HOT 1
- Graphs Showing NAN Results on Poweredge Dual E5 System HOT 4
- PHP 7.2 -> 7.3 breaks CGP HOT 5
- in Processes io_ops is not shown
- how to support s (seconds) parameter in host.php
- Can I remove "idle" curve when drawing images?
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 cgp.