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

mapping doesn't pass anymore the dateFormat #358

Closed
mikima opened this issue Jun 30, 2022 · 2 comments
Closed

mapping doesn't pass anymore the dateFormat #358

mikima opened this issue Jun 30, 2022 · 2 comments
Labels

Comments

@mikima
Copy link
Member

mikima commented Jun 30, 2022

Probably an issue of rawgraphs core.

We designed some charts (e.g. barchart) to be able to re-encode dates in the same way user inserted them.
To make an example, if user inserted a MM/YYYY date, the same format would have been used for labels in the chart.

To achieve this, we relied on the property dateFormat contained in the mappingvariable.

{
    "bars": {
        "value": "date",
        "dataType": "date"
        "dateFormat": // <======= THIS
    },
    "size": {
        "value": "first",
        "config": {},
        "dataType": "number"
    },
    "color": {},
    "series": {}
}

but now the property is no more provided, don't know why

@mikima mikima added the bug label Jun 30, 2022
@mikima
Copy link
Member Author

mikima commented Jun 30, 2022

@bianchimro if you can have a look :)

@mikima
Copy link
Member Author

mikima commented Jul 1, 2022

nevermind - my error. I thought it was passed automatically, but it simply must be defined

@mikima mikima closed this as completed Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant