diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index 0f6f588ebdf0a8fda09052587b97b5ab1762817a..f4ad81a74b16647f90557a498a05571d18eb7b42 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
* further save step size and data source
* count of this rra
*/
- im->gdes[gdi].rpnp[rpi].data = im->gdes[ptr].data;
+ im->gdes[gdi].rpnp[rpi].data = im->gdes[ptr].data + im->gdes[ptr].ds;
im->gdes[gdi].rpnp[rpi].step = im->gdes[ptr].step;
im->gdes[gdi].rpnp[rpi].ds_cnt = im->gdes[ptr].ds_cnt;