Hi,
I am using the SfChart control but I have problem adding it to a LinearLayout: the size of the SfChart seem wrong.
Here my code:
m_oChart = new SfChart (oView.Context);
//Initializing Primary Axis
CategoryAxis primaryAxis = new CategoryAxis ();
primaryAxis.Title.Text = "Month";
m_oChart.PrimaryAxis = primaryAxis;
//Initializing Secondary Axis
NumericalAxis secondaryAxis = new NumericalAxis ();
secondaryAxis.Title.Text = "Temperature";
m_oChart.SecondaryAxis = secondaryAxis;
m_oLinearLayoutChart.AddView(m_oChart);
Seem I am missing something to say chart should "match_parent" control. Of course I don't want the chart to take all the size of my fragment.
Thanks in advance,
Manuel