Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Tick format attribute ignored after saving #1056

Open
wgrusznis opened this issue Dec 14, 2022 · 4 comments
Open

Tick format attribute ignored after saving #1056

wgrusznis opened this issue Dec 14, 2022 · 4 comments

Comments

@wgrusznis
Copy link

Describe the bug
The tick format attribute is ignored after saving

To Reproduce
Steps to reproduce the behavior:

  1. Create a plot with a Categorical date on X axis
  2. Apply Tick format for example {%b %y}
  3. Press enter, and the preview should update with the correct Tick format
  4. Click the Save button
  5. X-axis Tick format goes back to default

Expected behavior
The save button should not change attributes to default values.

Screenshots
format_issue

Sample pbx
format_issue_pbx.zip

@zBritva
Copy link
Contributor

zBritva commented Dec 14, 2022

Data category is not 'temporal':

image

@wgrusznis
Copy link
Author

we do want it to be categorical to be able to select a grid
image

with a 'temporal' category grid is no longer available as a layout
image

@wgrusznis
Copy link
Author

I found a workaround.
If instead of saving project, you click on "back to report" and save it in the other prompt, the Tick format is applied correctly (does not go back to default value)
format_issue_workaround

@wgrusznis
Copy link
Author

I would prefer to create just a formatted text column and sort it by the numerical column instead but sorting with Order by attribute is broken: #1052 :(

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

No branches or pull requests

2 participants