@salasidis
@salasidis
Forum Replies Created
-
AuthorPosts
-
salasidis
ParticipantI did, but the Area component has a dataFieldFrom and To (2 variables), but only a single displayText – the demo does not alter the pop up graph tip labels when you hover over a point. It still says Low and High – which are the actual variable names – only the legend changes to say Temperature Range.
I would like to change the y1 and y2 in my example, to Min and Max in the ToolTip that pops up. For now I called y1 ‘<‘ and y2 ‘>’ – but text would be better. I don’;t weant to actually call them min and max in the dataset, in order to save RAM space in the embedded device.
Thanks
salasidis
ParticipantThanks, that would work.
I commented out the data.splice function in the demo, as I would want to display all the data all at once. The X axis gets very crowded, and does not seem to update the distance between labels, etc.
Is there a way to do this.
Also presumably in my application, I could just push the data x 24 or so times, and do a single update at the end (should be faster).
salasidis
Participantsalasidis
ParticipantJuly 20, 2022 at 3:27 pm in reply to: Change Axis Labels, Range, Intervals, horizontal areas via JS #103417salasidis
ParticipantJuly 19, 2022 at 3:00 pm in reply to: Change Axis Labels, Range, Intervals, horizontal areas via JS #103411salasidis
ParticipantThanks – got that working
How about for elements that are arrays – for example horizontal bands
I can get them working via the main initialization, but not sure how to access them individually
I tried
chart.seriesGroups(0).bands(0).minValue = 0;
chart.seriesGroups(0).bands(0).maxValue = 100;
chart.seriesGroups(0).bands(0).color = ‘light gray’;but that did not work.
July 18, 2022 at 11:14 pm in reply to: Change Axis Labels, Range, Intervals, horizontal areas via JS #103400salasidis
ParticipantThanks.
In the AP{I I see the addColorScheme option, but I don’t see any options for (what I need in my case)
Edit X axis Label and units
Edit Y axis Label and units
Modify horizontal color band – just the values on the Y axis, not color etc
My series are called X and Y (to minimize the transmission bytes required in JSON), Y will be the vertical axis, I only plan to have one series at a time, so I don’t need the legend.
Is there a place all these are documented, or am I just missing it myself on the API html page.
Thanks again
salasidis
ParticipantIn the 24 hour example, not sure if it would be possible to the interval marks on the X axis centered on the hour.
For example if it is now 17h30, the graph will start at 17h31 (yesterday), but should have major vertical lines at 18h00, 19h00 etc all the way to 17h00 today. Minor tick marks could be every 15 min in between.
Not sure if that is possible, but it would look a lot better than having times that are not rounded off on the X axis.
July 16, 2022 at 2:20 am in reply to: Trying to get first element working in my existing embedded web site #103365salasidis
Participant -
AuthorPosts