We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to draw a pie chart beside a simple plot on a single canvas.
The text was updated successfully, but these errors were encountered:
I tried tval . pieToRenderable, but cannot unify LayoutPick and PickFn
tval . pieToRenderable
Sorry, something went wrong.
I managed to draw a pie beside a plot with help of #218 and [1], but it looks like this:
[ pie ][ ] [ ][ plot ]
while I expect
[ pie ][ plot ]
[1]:
-- | Generalize LayoutPick to PickFn under Grid. layoutToGrid' :: (Ord x, Ord y) => Layout x y -> Grid (Renderable (PickFn (LayoutPick x y y))) layoutToGrid' = fmap (fmap (const . Just)) . layoutToGrid
pie `above` plot
pie `beside` plot
pie `overlay` plot
all give the same result:
No branches or pull requests
I need to draw a pie chart beside a simple plot on a single canvas.
The text was updated successfully, but these errors were encountered: