Is it possible to make the Chart with one line that will have two styles like on this picture?
I tried this, but it always selects only one style.
func strokeStyleByID(thenID: Int) -> StrokeStyle {
if thenID > 0 {
return StrokeStyle(dash: [5]) // dashed line for future
} else {
return StrokeStyle(dash: [0]) // solid line for past
}
}