Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
Sorting a numericTimeSeries
posted

While working on a composite line chart, I create a NumericTimeSeries,  setting the ValueColumn, LabelColumn and TimeValueColumn and then binding it to a datatable. The SQL query used to produce the datatable currently sorts the result by the TimeValueColumn but I am thinking this is unecessary based on how I think the Chart engine is creating the points. I removed the sort from the query and the linechart still produces the chart correctly. My question is- is there any performance gain by sending a sorted datatable vs an usorted table? I can see the benefit in removing it on the database side but was not completly sure if I am hurting anything on the chart generation.