F2Area

1 min read

Graphics area object, used to draw area extents

Create F2Area Instance

iOS

   chart.area();

Android

   chart.area();

Method

- Position

draw area location

iOS

   chart.area().position(@"date*value");

Android

   chart.area().position("date*value");
  • parameters
Attribute NameTypeExplanation
attrStringX*Y: The corresponding name of the drawn area in the source

- FixedColor

Set the color of the uniform area fill

iOS

   chart.area().fixedColor(@"#108EE9");

Android

   chart.area().fixedColor("#108EE9");
  • parameters
Attribute NameTypeExplanation
attrStringSet the color of the area fill (Hex rgba)