kaiserfarrell / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Animating NSDecimal properties with CPTAnimation fails #593

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In a bar graph where I want to animate the barWidth with the following code 
nothing happens. The bar width is not changed. Doing the same animation with 
barWidthScale (a CGFloat property) it works fine.

    CPTBarPlot *plot = (id)[graph plotWithIdentifier: @"mainDebtValues"];
    [CPTAnimation animate: plot
                 property: @"barWidth"
              fromDecimal: plot.barWidth
                toDecimal: CPTDecimalFromInt(1)
                 duration: 3
                withDelay: 0
           animationCurve: CPTAnimationCurveCubicInOut
                 delegate: nil];

Original issue reported on code.google.com by mike.lischke on 8 Oct 2013 at 6:22

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 8 Oct 2013 at 11:36

GoogleCodeExporter commented 8 years ago
This issue was closed by revision e555a2ffef09.

Original comment by eskr...@mac.com on 10 Oct 2013 at 1:16