I want to replace the standard plot in the EMA with an onRender plot. This is due to the negative effects I have found with assigning colours to each bar of that plot, for slope, etc. I can avoid this if I use onrender.
My query is, do you have any examples of how you would plot something like an EMA line plot, using onrender? The reason I ask. I made a series and drew my plot with line to line (one value to next). It works fine. My only niggle with is, is that the plot looks a bit staircase (rough), whereas the default ema plot is nice and smooth in comparison. Given it is the same underlying data, I was wondering why this might be. Do the NT team (or anyone else) have any suggestions for producing a nice, smooth line plot from a series containing something like an ema set of data? Any example code would be appreciated. I checked around, but for most simple things like this, I could not find anything using onRender.
I'm being really finicky here, as what I have works - It's just not as pleasing to the eye!
Thanks.
Comment