The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Is it possible to place both a histogram and a scatterplot in one SfChart? I would like the scatterplot to be above the histogram, they share the same x-axis but have different y-axis.
YPYuvaraj Palanisamy Syncfusion Team July 9, 2021 10:20 AM UTC
Hi Sam Shen,
Greetings from Syncfusion.
Yes. We can combine the histogram series and scatter series. Also we have prepared the sample for your reference. Please find the sample from the below link.
Actually, what I had in mind is a graph that looks like this.
Note that the scatterplot and histogram are not overlapping. Most importantly, the two graphs share the same X-axis but have different Y-axis.
Thanks for the quick response.
YPYuvaraj Palanisamy Syncfusion Team July 12, 2021 11:21 AM UTC
Hi Sam Shen,
You can achieve your requirement “Chart with same X-Axis and different Y-Axis” with the help of RowDefinitions support in SfChart. Please find the code example below.