We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

On iOS EdgeLabelsDrawingMode.Shift does not work for last label in category primary axis

I'm trying to show three labels (today, 1week, 2weeks) under a chart as category axis and the labels should fit in the graph.
The result is, that first label behaves like shift, mid label is ok and last label is cut, it seems this is shown like "center" only on iOS.
We set the label text thru "LabelCreated" event to the three texts.

Our definition for the primary axis looks like this.
<syncfusion_chart:SfChart.PrimaryAxis>
<syncfusion_chart:CategoryAxis
EdgeLabelsDrawingMode="Shift"
Interval="1"
IsVisible="True"
LabelCreated="Timeline_XAxis_LabelCreated"
LabelsIntersectAction="None"
ShowMajorGridLines="False">
<syncfusion_chart:CategoryAxis.MajorTickStyle>
<syncfusion_chart:ChartAxisTickStyle StrokeWidth="0" />
</syncfusion_chart:CategoryAxis.MajorTickStyle>
<syncfusion_chart:CategoryAxis.LabelStyle>
<syncfusion_chart:ChartAxisLabelStyle FontFamily="{StaticResource LightFont}" />
</syncfusion_chart:CategoryAxis.LabelStyle>
</syncfusion_chart:CategoryAxis>
</syncfusion_chart:SfChart.PrimaryAxis>

The label text is "in two weeks" (maybe it is too long).


1 Reply

BK Bharathiraja K Syncfusion Team March 5, 2019 12:43 PM UTC

Hi Bernd, 
  
We are confirming this as issue and logged a defect report for this bug and the fix for this issue will be available in Volume 1 SP1. If you need the fix as patch immediately please let us know and we will provide you the patch timeline.  
  
Please have our feedback portal link to keep track of your reported bug.   
   
      
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal link above. 
  
Regards, 
Bharathi. 


Loader.
Up arrow icon