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

Question. Label of days in TimeRange calendar #1822

Closed
csgomezg0 opened this issue Nov 3, 2021 · 4 comments
Closed

Question. Label of days in TimeRange calendar #1822

csgomezg0 opened this issue Nov 3, 2021 · 4 comments
Labels

Comments

@csgomezg0
Copy link

csgomezg0 commented Nov 3, 2021

...

@csgomezg0
Copy link
Author

Hi in the graph timerange, I have in the vertical axis: monday, ...,sunday, but i want other text, in other language, the day of week (in spanish). Are there some solution for this?

This is my options for my graph, but i dont get change the label of the days.

Note: I also try in this link: https://codesandbox.io/s/b57qd?file=/src/components/TimeRangeChart/TimeRangeChart.js:274-283, I didn't get.

from:"2021-10-01", to:"2021-10-31", emptyColor:'#f5f5dc', margin:{ top: 40, right: 40, bottom: 100, left: 40 }, dayBorderWidth:2, dayBorderColor: '#f5f5dc', //monthLegend:(year, month) => Months[month], dayLegend:(month, day) => Days213[day], legends:[ { label:["Lunes","Martes","Miercoles","Jueves","Viernes","Sabado","Domingo"], anchor: 'bottom-right', direction: 'row', justify: false, itemCount: 4, itemWidth: 42, itemHeight: 36, itemsSpacing: 14, itemDirection: 'bottom-to-top', translateX: -60, translateY: -60, symbolSize: 20 } ], weekdayTicks:[0,1,2,3,4,5,6],
Thanks.

@stale
Copy link

stale bot commented Feb 5, 2022

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@stale stale bot added the stale label Feb 5, 2022
@stale
Copy link

stale bot commented Feb 12, 2022

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@Oxunjon1029
Copy link

I need to change weekdays text in my own language like I changed month names , how can I do that?

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

2 participants