Hi,
I am using the DateTimeContinuousAxis to manage a chart with a CandlestickSeries and a RangeBarSeries. However there is a visual "bug", the candles stroke is not always centered on the candlestick, the gap is not always equal between the bars and the candle doesn't seem to be always centered over the tick. Please see my attached image.
// horizontal axis
<tchart:RadCartesianChart.HorizontalAxis>
<tchart:DateTimeContinuousAxis MaximumTicks="5" PlotStretch="Uniform"
PlotMode="OnTicks" GapLength="0.3" FontSize="11" LastLabelVisibility="Visible" Visibility="Visible"/>
</tchart:RadCartesianChart.HorizontalAxis>
// first serie
<tchart:CandlestickSeries x:Name="candleStickSeriesA" ItemsSource="{Binding}" ClipToPlotArea="False" ZIndex="10"
tchart:ChartTrackBallBehavior.TrackInfoTemplate="{StaticResource EmptyTemplate}">
// second serie
<tchart:RangeBarSeries x:Name="candleVolumeSeriesA" ItemsSource="{Binding}" ZIndex="1"
tchart:ChartTrackBallBehavior.TrackInfoTemplate="{StaticResource EmptyTemplate}">
My guess is that this is in relation with the zoom level, probably the space cannot be divided perfectly by the candle space / gap or something like that.
I need to use the DateTimeContinuousAxis because it's the only DateTime axis that allows for a constant max number of labels. I really think this feature should be available on all Axis types..
Anyway to fix this? Maybe an adaptive GapLength would be a good feature to add, unless I am missing something.
Thank you!
Hi,
how can I auto scale the chart on the Y axis when the plotted area changes? I couldn't find it anywhere in the doc. Thank you!
Hey guys. Took a clip from your WinUI demo. Attached as simple user control. Using this version of WinUI SDK (from project file) and I get this odd error. How did you guys get that to work? If you want I can create a complete project. Demo source would help. Thanks.
<ItemGroup>