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. Image for the cookie policy date

combine chart with bar & line series

Dear all,

How could we create a combine chart which have difference axis as showing as follow?
Please advance & thx.


3 Replies

DD Dharanidharan Dharmasivam Syncfusion Team February 4, 2019 08:34 AM UTC

Hi Kenneth, 
Greetings from Syncfusion. 
We have analyzed your query. We already having online sample for adding multiple axis which can be found below, 
More information on multiple axis can be found below, 
We also have pareto series in which the single series need to be given which will be rendered as column type and its cumulative values will be shown in line series with different axis. Online sample and user guide can be found here.  
Hope this helps. 

KT Kenneth Tang February 10, 2019 05:04 PM UTC

Dear Dharani,

We have create the chart using your sample as follow with code

@Html.EJS().Chart("InOutDaily").Series(series =>

   }).PrimaryXAxis(px => px.ValueType(Syncfusion.EJ2.Charts.ValueType.Category).MajorGridLines(mg=>mg.Width(0))
       ).PrimaryYAxis(py => py.LabelFormat("{value}").LineStyle(ls=>ls.Width(0))
       ).Axes(ax =>
).ChartArea(area => area.Border(br=>br.Color("transparent"))).Tooltip(tt => tt.Enable(true)

Please advance that why the temperature data can't be show and how we could show the temperature axis at the right hand side.

Thank a lot!


KC Kalaimathi Chellaiah Syncfusion Team February 11, 2019 05:57 AM UTC

Hi KennethT, 
Thanks for the update.  
We have prepared a sample with the shared code snippet and the reported issue is not reproduced at our end. We suspect that in your axes minimum and maximum value might be wrong with your datasource. Also, while using the below code the labels will not be visible. 
.LabelStyle(ls => ls.Color("transparent")) 
Please find attached screenshot and sample for your reference, 
Since we are not aware of your exact scenario, which the issue was reproduced. We suspect that you have done some customization in your application, so please revert us back with following details which was more helpful for further analysis and provide you the solution sooner. 
  • Try to reproduce the reported scenario with the above sample and revert us.
  • Provide your sample with replication steps.
  • provide your data source file

Live Chat Icon For mobile
Up arrow icon