[chronojump] Diabled X rellocation on paintCrossVariables n series
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Diabled X rellocation on paintCrossVariables n series
- Date: Fri, 5 Jan 2018 13:20:46 +0000 (UTC)
commit bb8775bcd1bfdd570f45dd089d10265b206aa15d
Author: Xavier Padullés <x padulles gmail com>
Date: Fri Jan 5 14:19:43 2018 +0100
Diabled X rellocation on paintCrossVariables n series
encoder/graph.R | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 55d1230..a57aa52 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -1895,7 +1895,7 @@ paintCrossVariables <- function (paf, varX, varY, option,
uniqueColors=topo.colors(length(unique(seriesName)))
#in x axis move a little every series to right in order to compare
- seqX = seq(0,length(unique(seriesName))-1,by=1)-(length(unique(seriesName))-1)/2
+ #seqX = seq(0,length(unique(seriesName))-1,by=1)-(length(unique(seriesName))-1)/2
maxy <- max(y)
miny <- min(y)
@@ -1909,10 +1909,12 @@ paintCrossVariables <- function (paf, varX, varY, option,
colBalls[thisSerie] = uniqueColors[i]
- if(! dateAsX) {
- #in x axis move a little every series to right in order to compare
- x[thisSerie] = x[thisSerie] + (seqX[i]/5)
- }
+
+ #Disabled since 1.7.1-233 because x axis is shown and alter it for graphical purposes
produces confusing results
+ #if(! dateAsX) {
+ # #in x axis move a little every series to right in order to compare
+ # x[thisSerie] = x[thisSerie] + (seqX[i]/5)
+ #}
#find min/max Y on power
if(varY == "Power" && length(unique(x[thisSerie])) >= 3 && ! dateAsX) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]