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

Can't be set SyncFusionChartAxis.IsLogarithmic in code behind.

SyncfusionChartAxis.IsLogarithmic property can't be set in the code behind. However this can be set using databinding or using SetValue() method it works. 

Source sample:
chart1.Areas[0].SecondaryAxis.IsLogarithmic = true;

Ths above line leads to following error:   Property or indexer 'Syncfusion.Windows.Chart.ChartAxis.IsLogarithmic' cannot be assigned to -- it is read only

However, the following line works properly:


1 Reply

SS Sheik Syed Abthaheer M Syncfusion Team August 13, 2013 11:31 AM UTC

Hi Suneel,


Thanks for using Syncfusion products.


We have analyzed your query and we would like to inform you that the IsLogarithmic property is an internal set property for internal usage. Hence it worked with binding and throwed exception while setting that property directly. Now we have modified our existing implementation by making this property as ReadOnly property. These changes will be reflected in our upcoming volume release. If we need to set the Logarithmic Axis, we need to use the ValueType property of ChartAxis.


Please let us know if you have any queries.



M. Sheik

Live Chat Icon For mobile
Up arrow icon