Closed kupietools closed 2 years ago
I fixed it, might have come up with a pretty kludgy solution but it works. It looks like setting up the legend was changing the underlying table data because you assigned a variable by reference instead of by value. I filed a pull request.
Take a look at this screenshot of your demo:
The cos is drawn in the right place, but the legend gives its value as around -22. This is completely wrong. I'm finding that every time I add more than one line, the first one gives incorrect values in the legend.