Funny Cat Posted September 18, 2023 Share Posted September 18, 2023 Hi,I'm programming a spotfire mod and I want to get the hex color code of the color axis.There's saturated colors when rows are marked and the pale colors, when rows are not marked.I want to get the saturated colors only.I know that one can access the hex color of the individual rows using row.color(), but in case there's no marking on data points from some groups in the color by, I'm getting only the pale colors for those groups.I hope somebody can help. Link to comment Share on other sites More sharing options...
Jose Leviaguirre Posted September 18, 2023 Share Posted September 18, 2023 Hello there, I understand that you're working on a Spotfire mod and you're looking to retrieve the hex color codes for the saturated colors used in the color axis. You've mentioned that you can access the hex color of individual rows using row.color(), but you're specifically interested in obtaining the saturated colors, even when there are no markings on certain data points within the 'Color By' groups. Is this right? You can also find answers to this type of questions at https://github.com/spotfiresoftware/spotfire-mods/discussions Link to comment Share on other sites More sharing options...
Funny Cat Posted September 18, 2023 Author Share Posted September 18, 2023 Hello Jose,yes, you understood correctly. That's exactly what I want.Once again with an example:Color axis has a color by, leading to 3 colors on the categorical color axis.group 1: bluegroup 2: redgroup 3: greenif only data points in group 1 are marked, by accessing the row properties I getgroup 1: blue --> for marked pointsgroup 1: pale blue --> not marked pointsgroup 2: pale red --> not markedgroup 3: pale green --> not markedI cannot get the red and green values from the dataview Link to comment Share on other sites More sharing options...
Jose Leviaguirre Posted October 6, 2023 Share Posted October 6, 2023 Hello @Funny Cat and sorry for the late reply. I forgot to tell you that I forwarded your question on GitHub and still waiting for an answer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now