-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set ticks on y axis to -£100 instead of £-100 (#820)
* search box throws error message on typing. fixed. * re-register locales en and en-us with Plotly * fix issue 148. * Lint --------- Co-authored-by: Nikhil Woodruff <[email protected]>
- Loading branch information
1 parent
c442f8c
commit 877fe03
Showing
9 changed files
with
107 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// same as plotly.js/src/locale-en-us.js except currency symbol | ||
|
||
"use strict"; | ||
|
||
module.exports = { | ||
moduleType: "locale", | ||
name: "en-US", | ||
format: { | ||
date: "%m/%d/%Y", | ||
currency: ["$", ""], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// same as plotly.js/src/locale-en.js except currency symbol | ||
|
||
"use strict"; | ||
|
||
module.exports = { | ||
moduleType: "locale", | ||
name: "en", | ||
dictionary: { | ||
"Click to enter Colorscale title": "Click to enter Colourscale title", | ||
}, | ||
format: { | ||
days: [ | ||
"Sunday", | ||
"Monday", | ||
"Tuesday", | ||
"Wednesday", | ||
"Thursday", | ||
"Friday", | ||
"Saturday", | ||
], | ||
shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], | ||
months: [ | ||
"January", | ||
"February", | ||
"March", | ||
"April", | ||
"May", | ||
"June", | ||
"July", | ||
"August", | ||
"September", | ||
"October", | ||
"November", | ||
"December", | ||
], | ||
shortMonths: [ | ||
"Jan", | ||
"Feb", | ||
"Mar", | ||
"Apr", | ||
"May", | ||
"Jun", | ||
"Jul", | ||
"Aug", | ||
"Sep", | ||
"Oct", | ||
"Nov", | ||
"Dec", | ||
], | ||
periods: ["AM", "PM"], | ||
dateTime: "%a %b %e %X %Y", | ||
date: "%d/%m/%Y", | ||
time: "%H:%M:%S", | ||
decimal: ".", | ||
thousands: ",", | ||
grouping: [3], | ||
currency: ["£", ""], | ||
year: "%Y", | ||
month: "%b %Y", | ||
dayMonth: "%b %-d", | ||
dayMonthYear: "%b %-d, %Y", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters