SwiftChart v0.4.0 Release Notes

Release Date: 2016-11-14 // over 5 years ago
  • 🔄 Changed

    • Custom threshold for positive/negative data colors (#45 by @algrid)

    This is a potentially breaking change If you were setting the ChartSeries.colors, you must set the new zeroLevel value to 0 to keep the same functionality:

    - mySeriesl.colors = (above: ChartsColors.redColor(), below: ChartsColors.blueColor())
    + mySeriesl.colors = (above: ChartsColors.redColor(), below: ChartsColors.blueColor(), 0)