Webchart Questions

I’ve been trying to get the WebChartScatterDataset to work but I am having issues when creating a WebChartScatterDatapoint I have an array with some various doubles and when creating a new datapoint with a value from the double array that double is being set to 0. So a -0.2 goes to 0. I’ve noticed the X coordinate and the Radius are also being set to 0. I tried doing this with some integers, 1-10, and the datapoints were created correctly but when graphing them they all graphed as 0. Is there something obvious here that I am missing?

Secondly, is there an easy way to set the Y-scaling manually and not having it scale based on the data graphed?

Thanks

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.