Hi Codrina,
Greetings from Syncfusion.
We can achieve your requirement using Range column series and scatter series. Range column series will plot based on two y values. (i.e. High and Low).
And the Width property of Column series class is used to change the rectangle size, it value range from 0 to 1, by default range column width noted as 0.8.
We are prepared the sample based on this requirement, that can be downloaded from below link. And find the code snippet below.
<chart:SfChart x:Name="chart" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
. . .
<chart:RangeColumnSeries ItemsSource="{Binding ChartSeriesData}" XBindingPath="Date" High="High" Low="Low" Width="0.01" Color="DarkBlue"/>
<chart:ScatterSeries ItemsSource="{Binding ChartSeriesData}" XBindingPath="Date" YBindingPath="High" ScatterWidth="14" ScatterHeight="14" Color="Red"/>
<chart:ScatterSeries ItemsSource="{Binding ChartSeriesData}" XBindingPath="Date" YBindingPath="Low" ScatterHeight="14" ScatterWidth="14" Color="Black"/>
. . .
</chart:SfChart> |
Please refer the below help document link for more details.
Regards,
Bharathi.