Hi I am using your gauges: digital, circular and linear. When I add new max and min(max for example from 10 to 5000) data digitalgauge and circulargauge are working correct, but when I use SFLinearGauge I must wait a long time(around 4-5seconds) and use very huge RAM size(sometimes 700MB)
How can I fix it?
Code for example:
_sfLinearGauge.SfLinearGauge.MainScale.Minimum = min; //from 0 to 0
_sfLinearGauge.SfLinearGauge.MainScale.Maximum = max; //from 10 to 5000
_sfLinearGauge.SfLinearGauge.MainScale.Interval = step; //from 1 to 500
I know its almost 2 years, but the problem still exists, its because when you set Maximum while Interval is 1, the code is trying to generate 5000 major ticks(not including minors). To solve this issue, you must set Interval first to 500 then Maximum to 5000, which will only have 10 major ticks. I think it may work.