CPTBarPlot – barTip and barBase properties

Ask A Question

Login To post a question

I’m trying to use the barTip and barBase properties for a CPTBarPlot to create the impression that bars that sticks on top and expand to the bottom.

Basically I’m thinking that overriding func number(for plot: CPTPlot, field fieldEnum: UInt, record idx: UInt) -> Any? and setting the right barBase I will achieve that.

Does anyone know if there should be a correlation between barTip and barBase? (e.g. barBase + barTip = max value)

For more info please click herehttps://stackoverflow.com/q/50375672

Have a question or need a custom quote?