Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Using nullable decimal fields to optionally set ValueAxis Min and Max

$
0
0

For now, I just stuffed the max Value into a field and am using that to set the default Max value (i.e., Max(Model.YAxisRangeMax.GetValueOrDefault(Model.YAxisMaxDefault)), which seems to be working (I set the max to 1.1 X the actual max value). Since the end user can also select different chart types, I added another property for StackedArea YAxisMax (3 x max). Let me know if there is a better way.

 

Thanks!


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>