[use case] Creates a new chart that represents categorized numeric data with areas.
Creates a new chart that represents categorized numeric data with areas. The keys of the given collection will become the domain axis label of the respective plot.
val d1 = List("series a" -> List("category a" -> 2, "category b" -> 3)) val d2 = List("series b" -> List("category a" -> 1, "category b" -> 4)) val data = Map("plot a" -> d1, "plot b" -> d2) val chart = AreaChart.combined.domain(data)
the data the chart will visualize
[use case] Creates a new chart that represents categorized numeric data with areas.
Creates a new chart that represents categorized numeric data with areas. The keys of the given collection will become the domain axis label of the respective plot.
val d1 = List("series a" -> List("category a" -> 2, "category b" -> 3)) val d2 = List("series b" -> List("category a" -> 1, "category b" -> 4)) val data = Map("plot a" -> d1, "plot b" -> d2) val chart = AreaChart.combined.range(data)
the data the chart will visualize
Factories for combined area charts.