chart smaller than panel

selvarajan

New Member
Hi
I am trying to create a tab app and I use Designer with a panel to show chart When I try to run it on samsung tab emulator, the chart gets cut off though the chart panel is well inside in Designer. Pl see screen shots to get clear picture. How to ensure that the chart is within panel?
Designer size - 1024 x 580
Samsung tab size - 1024 x 600
MY relevant CHART CODE
pnlChart is panel name
B4X:
Sub CreateBarChart
pnlcharts.SetLayout(pnlcharts.Left,0, pnlcharts.Width, pnlcharts.Height)
Dim BD As BarData
BD.Initialize
BD.Target = pnlCharts
BD.BarsWidth = 15dip
BD.Stacked = False
thanks in advance
 

Attachments

  • designer screen.png
    designer screen.png
    18 KB · Views: 196
  • samsung-tab-screen.png
    samsung-tab-screen.png
    32.3 KB · Views: 201
Top