xamarin.forms - OxyPlot DateTimeAxis, formatted label at Maximum is cut off -


formatted label of datetimeaxis cut off @ maxvalue. here's snapshot of it. trying display graph of day on hourly basis. here have 4 hours of majorstep interval , 2 hours of minorstep interval.

enter image description here

        var minvalue = datetimeaxis.todouble(datetime.today.date);         var maxvalue = datetimeaxis.todouble(datetime.today.adddays(1));           var xaxis = new datetimeaxis()         {             minimum = minvalue,             maximum = maxvalue,             position = axisposition.bottom,             stringformat = "h tt",             intervaltype = datetimeintervaltype.hours,             iszoomenabled = false,             ispanenabled = false,             tickstyle = tickstyle.outside,             ticklinecolor = oxycolor.fromrgb(47, 131, 167),             majorticksize = 10,             majorgridlinethickness = 4,             majorstep = 4.0 / 24,             minorticksize = 5,             minorgridlinethickness = 4,             minorstep = 2.0 / 24,             textcolor = oxycolors.white,             fontsize = 15,             fontweight = 4,             axisdistance = 0.25,         }; 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -