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

The full chart is not displaying


To sort the above chart by Month name, I passed the month name as an integer and convert it to month name values in client side. Here I attached that function below

After that, like the first image full width of the first and last bars in the chart is not shown.

I'm kindly requesting that you give your valuable consideration to this and give me a solution ASAP.

Thank you.

Best Regards,

Kalinduni Kolambage

1 Reply

DG Durga Gopalakrishnan Syncfusion Team March 28, 2023 11:49 AM UTC

Hi Kalinduni,

We suggest you to specify minimum and maximum range for x axis if you are using DateTime and Double value types. By default, for Category value type, column is displayed properly without cropping. We have attached the tested sample and screenshot for your reference.

<ej:Chart ID="Chart1" >

   <PrimaryXAxis ValueType="DateTime" EdgeLabelPlacement="Hide"></PrimaryXAxis>



    function onChartLoad(args) {

         args.model.primaryXAxis.range.min = new Date(2014, 11, 02);

         args.model.primaryXAxis.range.max = new Date(2016, 0, 02);



Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/StackedCol-1556700223.zip

Please revert us if you have any concerns.


Durga Gopalakrishnan.

Live Chat Icon For mobile
Up arrow icon