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

Shape Map - not working #7

Open
MattRudy opened this issue Oct 15, 2021 · 2 comments
Open

Shape Map - not working #7

MattRudy opened this issue Oct 15, 2021 · 2 comments

Comments

@MattRudy
Copy link
Owner

Source: Cloned from Issue 10 created by @KDIXN in original repository.

The shapeMap doesn't seem to work. Is it outdated?
I would like to see values to force the 'minimum' and 'maximum' colours

@MattRudy
Copy link
Owner Author

Working on this - setting would be under 'dataPoint' for the shape map but I'm having trouble getting the expected values from the layout file into a working format for the JSON theme. Copying values from test layout files below for reference and will resume later.

Diverging Off: "dataPoint": [{"properties": {"fillRule": {"linearGradient2": {"min": {"color": {"expr": {"Literal": {"Value": "'#F2C80F'"}}},"value": {"expr": {"Literal": {"Value": "-100D"}}}},"max": {"color": {"expr": {"Literal": {"Value": "'#8AD4EB'"}}},"value": {"expr": {"Literal": {"Value": "100D"}}}},"nullColoringStrategy": {"strategy": {"expr": {"Literal": {"Value": "'asZero'"}}}}}}}}]

Diverging On: "dataPoint": [{"properties": {"fillRule": {"linearGradient3": {"min": {"color": {"expr": {"Literal": {"Value": "'#F2C80F'"}}},"value": {"expr": {"Literal": {"Value": "-100D"}}}},"mid": {"color": {"expr": {"Literal": {"Value": "'#000000'"}}},"value": {"expr": {"Literal": {"Value": "0D"}}}},"max": {"color": {"expr": {"Literal": {"Value": "'#8AD4EB'"}}},"value": {"expr": {"Literal": {"Value": "100D"}}}},"nullColoringStrategy": {"strategy": {"expr": {"Literal": {"Value": "'asZero'"}}}}}}}}]

@MattRudy
Copy link
Owner Author

Closed incorrectly - Issue 32 was closed by PR 45, not this issue,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant