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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Connected dot plot chart - Dumbell dot chart

Thread ID:

Created:

Updated:

Platform:

Replies:

144638 May 15,2019 02:25 PM UTC May 17,2019 06:04 AM UTC Xamarin.Forms 3
loading
Tags: SfChart
Codrina Merigo
Asked On May 15, 2019 02:25 PM UTC

Hello,

It is possible to achieve usign syncfusion chart a connected dot ploat chart something like here :

https://stephanieevergreen.com/dumbbell-dot-plot/ where 1 have 2 series of data that i need to vertically connect using a line. I was thinking about using scatter chart, but I have no idea on h ow to connect the points.



Thank you very much,
Codrina



Bharathiraja K [Syncfusion]
Replied On May 16, 2019 09:45 AM UTC

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. 


Codrina Merigo
Replied On May 16, 2019 12:40 PM UTC

Thank you very much, works like a charm!

Codrina

Bharathiraja K [Syncfusion]
Replied On May 17, 2019 06:04 AM UTC

Hi Codrina,  
 
Thanks for your feedback. 
 
Regards, 
Bharathi. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon