I am using ultimate chart xf i want to use the paramters in view model which is already set in cs page how to apply in view model xamarin forms?

Lokesh Puri 1 Reputation point
2022-12-30T06:40:44.057+00:00

var data4 = new LineChartData(new List<ILineDataSetXF>() { dataSet4, dataSet5 });

            chart.ChartData = data4;  
            chart.DescriptionChart.Text = "";  
            chart.AxisLeft.DrawGridLines = false;  
            chart.AxisLeft.DrawAxisLine = false;  
            chart.AxisLeft.Enabled = false;  
            chart.ScaleXEnabled = false;  
            chart.AxisRight.DrawAxisLine = false;  
            chart.AxisRight.DrawGridLines = false;  
            chart.AxisRight.Enabled = false;  
            chart.XAxis.Enabled = false;  

the above code is applied in cs page i have to set same paramters in view model

Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.