Android Question [solved] Resize DynamicLines in xChart

angel_

Well-Known Member
Licensed User
When I try to resize DynamicLines1, for example:
B4X:
DynamicLines1.Height = 50%y
DynamicLines1.Width = 50%y

It occurs a bug:
B4X:
Error occurred on line: 1140 (xChart)
java.lang.NullPointerException: Attempt to read from field 'double[] b4a.xChartsDemo.xchart$_pointdata.YArray' on a null object reference

Line 1140:
B4X:
MinMaxMeanValues(2) = MinMaxMeanValues(2) / Points.Size / PD.YArray.Length

How can I fix it?
 

Similar Threads

D
  • Question
Android Question Question about xChart
Replies
9
Views
460
Deleted member 103
D
Replies
13
Views
888
Top