Getting Commas in Scan Results with Proper Sorting


Category:
0
0

Hi Pete,

Was wondering if it was possible to get a , into the scan results? Lets go with something super basic, plotting the volume from yesterday (image attached)

Using the code:

plot x = volume() [1];

^ this gives me the data with a single decimal place (1,000,000 now becomes 1000000.o) – hard to read but i can sort the columns properly

Using the code:

plot x = volume() [1];
addlabel (yes,x);

^ this gives me commas, but i can no longer sort the columns properly.

 

Tried finding ways to convert the data to integers to hopefully get commas and proper sorting, but haven’t found anything.

Thanks

 

Attachments:
Marked as spam
Posted by (Questions: 7, Answers: 9)
Asked on February 11, 2019 11:22 pm
437 views
0
Private answer

The short answer is no. Here’s why. The only current methods available require us to convert the values to text. Once we do so, the sorting capability of the column is destroyed (as you have already discovered).

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on February 15, 2019 11:12 am
0

No problem, thanks for getting back to me!

( at February 15, 2019 10:23 pm)