robinhood / spark

A simple Android sparkline chart view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple lines in one chart?

Pixelherz23 opened this issue · comments

Hello,
I was wondering if it is possible to display 2 or more lines in one chart (to compare your portfolio with an fond for example).

Hey!

Unfortunately it's not possible right now. You could overlay multiple SparkViews to achieve a similar effect, but you'd have to manually return the data bounds in each of the adapters to be the max of all the overlapping data's bounds, so it's a bit annoying. Sorry!