setValues(self, layer: QgsVectorLayer, fieldOrExpression: str, feedback: QgsFeedback = None) -> bool
Assigns numeric source values for the histogram from a vector layer’s field or as the
result of an expression.