Skip to content

Looking for ideas to implement an specific chart #333

Closed Answered by Gowsky
rezafaraji93 asked this question in Questions
Discussion options

You must be logged in to vote

Hello @rezafaraji93, the current version of Vico may not allow you to easily recreate the chart from the sample. The upcoming 1.9.0 release will improve how vertical axes handle charts with positive and negative values, so the y=0 will be always visible.
Regarding distinct colors for positive and negative values — we will support them in future releases. However, you can work around this limitation by splitting your single list of entries into two. One for positive, and a second one for negative values. Then you will need to set two different LineComponents to your column chart, and the mergeMode to MergeMode.Stack.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Gowsky
Comment options

Answer selected by rezafaraji93
@patrickmichalik
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #331 on August 03, 2023 13:32.