KarthikRIyer / swiftplot

Swift library for Data Visualization :bar_chart:
Apache License 2.0
401 stars 39 forks source link

Add SubPlots for SVG, add opacity to SVG Renderer, update examples #9

Closed KarthikRIyer closed 5 years ago

KarthikRIyer commented 5 years ago

8

I've added SubPlot support where one can add multiple SubPlots and stack them vertically, horizontally or in a grid. If one needs to plot just a single graph, the old method will still work. Currently SubPlots are supported only for SVG, because I'm having some trouble changing the buffer size according to the plot dimensions.

In addition to this I've added opacity to SVG which wasn't there previously.

I've also made a project for milestone 1 to keep track of the progress.