SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on where you can earn rep for your questions!



I want to draw a grid for diagnostic ECG measurement. For instance, I made a custom component with SciChartSurface, it have 100 pixels width BUT the surface have margins and so doesn’t stretched to fill all the space available. So the question is, how can I make the surface to fill the full size of its container with zero margins?

Please, find the screenshot of the component I want to replicate with SciChart attached.


  • You must to post comments

Hi there,

Please, try to set SciChartSurface.Padding=”0″. This should do the trick.
And feel free to ask if you have more questions!

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.