Skip to content

Radial color gradients within arcs #106

@evodevosys

Description

@evodevosys

I have some data where a flow proceeds in discrete time chunks, but the value of my key variable changes from the beginning to the end of a chunk. I've been using the sund2b function to represent the data, using the ending value to color each of the arcs.

Would it be possible to change the fill color to a gradient? With a gradient I could represent the change in my variable value within a time chunk. (In my particular example the starting variable value of a time chunk is not necessarily the ending value of its ancestor).

I posted this question to d2b initially (here) with the idea that if it were implemented in d2b then I could modify the sund2b interface to pass the gradient values along, but after playing around with the d2b.min.js and the d2b.R files, I realized that I don't know how to do that.

Thanks for any help.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions