Skip to content
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

Define filling for curves with type point #209

Open
jonrkarr opened this issue Feb 15, 2022 · 0 comments
Open

Define filling for curves with type point #209

jonrkarr opened this issue Feb 15, 2022 · 0 comments
Labels

Comments

@jonrkarr
Copy link
Contributor

jonrkarr commented Feb 15, 2022

(Edited because I see that fill isn't defined -- "The Fill of a Style has no meaning and, if present, will be ignored.").

I think this requires more information to capture how curves can be filled.

For reference, here's the documentation for Plotly's fill attribute

Type: enumerated , one of ( "none" | "tozeroy" | "tozerox" | "tonexty" | "tonextx" | "toself" | "tonext" )

Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if orientation is "v" ("h") Use with fillcolor if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a stackgroup will only fill to (or be filled to) other traces in the same group. With multiple stackgroups or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order.

@jonrkarr jonrkarr added the L2 label Feb 15, 2022
@jonrkarr jonrkarr changed the title Clarify semantics of filling (style) Define filling for curves with type point Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant