Hi Hasindu,
1. You can modify the chart and label Positon and size independently. The following code shows how to do that:
NChart chart = nChartControl1.Charts[0];
chart.BoundsMode = BoundsMode.Stretch;
chart.Location = new NPointL(new NLength(10, NRelativeUnit.ParentPercentage), new NLength(10, NRelativeUnit.ParentPercentage));
chart.Size = new NSizeL(new NLength(70, NRelativeUnit.ParentPercentage), new NLength(80, NRelativeUnit.ParentPercentage));
NBarSeries bar = new NBarSeries();
bar.Values.Add(10);
bar.Values.Add(20);
bar.Values.Add(30);
chart.Series.Add(bar);
NLegend legend = nChartControl1.Legends[0];
legend.BoundsMode = BoundsMode.None;
legend.UseAutomaticSize = false;
legend.ContentAlignment = ContentAlignment.BottomRight;
legend.FitAlignment = ContentAlignment.TopCenter;
legend.Location = new NPointL(new NLength(80, NRelativeUnit.ParentPercentage), new NLength(10, NRelativeUnit.ParentPercentage));
legend.Size = new NSizeL(new NLength(20, NRelativeUnit.ParentPercentage), new NLength(80, NRelativeUnit.ParentPercentage));
for more advanced legend positioning options you can take a look at All Examples\Panels\Legend\Position and All Examples\Panels\Legend\Docking.
2. To hide the y axis labels you have to turn off autolabelling:
NLinearScaleConfigurator yScale = chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator as NLinearScaleConfigurator;
yScale.AutoLabels = false;
Hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team