cptxygraph

CorePlot: creating bands with mutable widths (changing based on data)

北战南征 提交于 2020-01-07 06:56:21
问题 I would like to create a CorePlot graph with dynamic bands ( changing as the time goes along ), a little bit like this ugly drawing here (forgive me for the quality): Basically the band colouring should change based on some values/criteria. The yellow band can be wider or thinner and so can the white and green band. In other words these bands need to have dynamic width This is the current way I set the y graph band colouring, however if I dynamically change it it does not work as it changes