-
Notifications
You must be signed in to change notification settings - Fork 377
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
Per-column CSV table styling #1097
Comments
This looks great to me, I'm sure we'll find many uses for this. |
Just a thought. If the column identifier can be a regex, then it would integrate well with #1111. I guess we should have have explicit regex markers ( |
Thinking some more about this. Here is the current (mid Feb 2016) list of Table Style attributes. The first set are global, so would not be available in
But as you say the remainder really should be column-specific:
The current behaviour is to apply these to all columns, so I'd also suggest that eg.:
would apply the 'black-green' color map to the 'pop' column and 'red-orange' to all the other columns. All columns would have 'legendTicks: 8', ie. defaults set at the top level flow through to each column. Adding a And one last extension - I'd suggest also letting the column keys be numbers, to reference a particular column by its position (probably zero-based). It could foster bad practice, but I can also imagine cases where the column title is less stable than its position. |
How about a Not sure about the column keys as numbers - doesn't sound too harmful, but what's the use case? |
Cool - can you raise |
@RacingTadpole and @stevage
|
Something in the back of my mind for a while. Our init file format only lets you specify one style, which applies to one column. So when the user selects a different column in the interface, Terria is flying blind.
We should perhaps have something like:
The text was updated successfully, but these errors were encountered: