mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 01:40:06 +00:00
增加LabelStyle的autoRotate可设置有角度的竖版文本的自动旋转
This commit is contained in:
@@ -576,13 +576,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
total = context.labelValueList.Count;
|
||||
}
|
||||
var labelShow = axisLabel.show && (axisLabel.interval == 0 || index % (axisLabel.interval + 1) == 0);
|
||||
if (labelShow)
|
||||
{
|
||||
if (!axisLabel.showStartLabel && index == 0) labelShow = false;
|
||||
else if (!axisLabel.showEndLabel && index == total - 1) labelShow = false;
|
||||
}
|
||||
return labelShow;
|
||||
return axisLabel.IsNeedShowLabel(index, total);
|
||||
}
|
||||
|
||||
public void SetNeedUpdateFilterData()
|
||||
|
||||
Reference in New Issue
Block a user