Chart does not display values between 1 and -1 | General | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Chart does not display values between 1 and -1
Avatar
chriscokid
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
1
January 12, 2018 - 10:58 pm
sp_Permalink sp_Print

The chart does not seem to display values between 1 and -1, except for 0.

I upload data using curl once per minute, and when the value is, e.g. .5 or -.3 nothing is displayed in the chart. I know the data points are being stored on the server because I can see the data by using the data export function:

2018-01-13 01:33:02 UTC,570587,.1

2018-01-13 01:34:02 UTC,570588,.2

2018-01-13 01:35:02 UTC,570589,.3

2018-01-13 01:36:02 UTC,570590,0

2018-01-13 01:37:02 UTC,570591,0

2018-01-13 01:38:02 UTC,570592,0

2018-01-13 01:39:02 UTC,570593,-.1

2018-01-13 01:40:02 UTC,570594,-.1

2018-01-13 01:54:02 UTC,570608,-.2

2018-01-13 01:55:01 UTC,570609,-.3

None of these values are displayed on the chart, except the 0s. As soon as the value is 1.0 or greater, or -1.0 or less, it is displayed again.

Chris

Avatar
Vinod

Forum Posts: 186
sp_UserOfflineSmall Offline
2
January 15, 2018 - 1:44 pm
sp_Permalink sp_Print

I think it may have to do with how the data is being interpreted. What if instead of ".1", ".2", etc. it is sent to the server as "0.1", "0.2", etc? 

Avatar
chriscokid
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
3
January 15, 2018 - 10:47 pm
sp_Permalink sp_Print

Yes, that will probably work, but I have to add some extra code to format the numbers since 'bc' doesn't have any way to force leading zeros.

In any case, this should be handled as a bug in your parser, since that is a perfectly valid way of specifying a number.

Chris

Avatar
chriscokid
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
4
January 19, 2018 - 10:29 pm
sp_Permalink sp_Print

I can confirm that adding the leading 0, i.e. 0.3 or -0.4, does work and displays properly.

Chris

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

epicpaymentsny

DanielBobby

mercedeszw18

ujuxoketate

olihfez

winnieeq69

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee