applyValueTextStyle method

void applyValueTextStyle(
  1. IDataSet<Entry> set
)

Applies the required styling (provided by the DataSet) to the value-paint object.

@param set

Implementation

void applyValueTextStyle(IDataSet set) {
  _valuePaint = PainterUtils.create(_valuePaint, null,
      const Color.fromARGB(255, 63, 63, 63), Utils.convertDpToPixel(9),
      fontFamily: set.getValueTypeface()?.fontFamily,
      fontWeight: set.getValueTypeface()?.fontWeight);
}