Skip to content

Feature Request: Line Colors for Cartesian Plot Lines #86

New issue

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

Open
DJDevon3 opened this issue Jul 23, 2023 · 0 comments
Open

Feature Request: Line Colors for Cartesian Plot Lines #86

DJDevon3 opened this issue Jul 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@DJDevon3
Copy link

DJDevon3 commented Jul 23, 2023

As far as I can tell there's no parameter for changing the line color with cartesian. Would like to change it depending on y-axis value.
Here's my current code for the fitbit api project.

my_plane = Cartesian(
                    x=30,  # x position for the plane
                    y=60,  # y plane position
                    width=DISPLAY_WIDTH-20,  # display width
                    height=DISPLAY_HEIGHT-80,  # display height
                    xrange=(0, 14),  # x range
                    yrange=(lowest_y[0], highest_y[0]),  # y range
                    axes_color=bar_color(highest_y[0]),
                    pointer_color=TEXT_PINK,
                    axes_stroke=4,
                    major_tick_stroke=2,
                    subticks=True,
                )

screenshot1

screenshot2

Only thing I can currently colorize is the axes depending on value.

@DJDevon3 DJDevon3 changed the title Feature Request: Line Colors for Cartessian Plot Lines Feature Request: Line Colors for Cartesian Plot Lines Jul 23, 2023
@tekktrik tekktrik added the enhancement New feature or request label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants