I am afraid notCan I change the Y position of the text of the X axis somehow change?
I am afraid notCan I change the Y position of the text of the X axis somehow change?
I'm fixing the font size under VGA which should fix this as well. You've probably noticed that under VGA font sizes are twice those under QVGA - I'm fixing that so Charts should render identically under VGA and QVGA.Can I change the Y position of the text of the X axis somehow change?
I'm fixing the font size under VGA which should fix this as well. You've probably noticed that under VGA font sizes are twice those under QVGA - I'm fixing that so Charts should render identically under VGA and QVGA.
It is poportional to the height of the Chart. Having just looked at the source code I note that there is an undocumented property "scaleY" (there by a happy/unfortunate oversight/error on my part!) on each chart and the legend that will adjust the size of the font. After Newing the chart or legend you can try setting it to a different value, start at 10 and see how it looks. It may however upset the chart title size, you will have to see if that is acceptable to you.How is the size of the text which appears on the segments of the pie chart controlled?
Sub ShowPie(a,L1,b,L2,c,L3)
Label4.Visible=False
Piechart.New1(Image1.Width, Image1.Height)
Piechart.scaleY = 8
Piechart.Color = cWhite
Piechart.BorderSize = 5
Piechart.AddSlice(a, Rgb (255,0,0))
Piechart.AddSlice (b, Rgb (255,127,0))
Piechart.AddSlice(c, Rgb (0,255,0))
Image1.Image = Piechart.Draw
Label1.Text = L1
Label2.Text = L2
Label3.Text = L3
End Sub
Yes, remove ChartsDesktop and replace it with ChartsDevice. ChartsDevice is different to ChartsDesktop as it has scaling factors to cope with different resolution device screens. If you want to compile for the device you need ChartsDevice as the desktop component as that is what the compiler uses to generate the code.Are you telling me to put ChartsDevice.dll on the desktop side of the components list as well as the device side?