我有一个带有DateTimeContinuousAxis的NativeScript RadCartesianChart。通过使用DateTimeContinuousAxis,图表的内容似乎不会向左对齐,相反,它在水平轴和内容之间有一些空间。
如何将内容向左对齐?
<RadCartesianChart tkExampleTitle tkToggleNavButton>
<RadCartesianChartGrid tkCartesianGrid horizontalLinesVisible="true" horizontalStripLinesVisible="true"
horizontalStrokeColor="#E5E5E5" horizontalStrokeWidth="1" horizontalStripLineColor="#ffffff, #ffffff">
</RadCartesianChartGrid>
<LinearAxis lineHidden="true" labelMargin="25" tkCartesianVerticalAxis></LinearAxis>
<DateTimeContinuousAxis tkCartesianHorizontalAxis majorStep="2" majorStepUnit="Hour" dateFormat="HH:mm"
labelFitMode="Rotate" labelRotationAngle="1.2">
</DateTimeContinuousAxis>
<Palette tkCartesianPalette>
<PaletteEntry tkCartesianPaletteEntry fillColor="#AFD9FD" strokeColor="#54AFFB"></PaletteEntry>
</Palette>
<SplineAreaSeries tkCartesianSeries legendTitle="Prijzen" [items]="priceSource" categoryProperty="applyDate"
valueProperty="price">
</SplineAreaSeries>
</RadCartesianChart>