Casting to a Member Type in Scala I’m using the Apache POI library 5.2.3 in Scala to create a line chart in a PowerPoint presentation.