Per-axis separators attribute
See original GitHub issuevar trace = {
x: ['2000-01-30', '2000-01-31'],
y: [1.5, 1.7],
type: 'scatter'
};
var data = [trace];
var layout = {
xaxis: {
type: 'date',
},
yaxis: {
tickformat: ',.'
},
};
Plotly.plot('myDiv', data, layout);
Last two axis labels are wrong and the comma format isn’t applied. The problem doesn’t occur when setting layout.separators = ',.'
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
syl - Music Encoding Initiative
@con(optional)Describes the symbols typically used to indicate breaks between syllables and their functions. Allowed values are: "s" (Space (word separator) ...
Read more >Praxis | Josh Smith on WPF | Page 2
Posts about Praxis written by Josh Smith. ... You can use a little-known attribute called x:FieldModifier to remedy the problem.
Read more >How to compare msXML nodes - RTL and Delphi Object Pascal
I have an code: function FindParentNodeByName(const AChildNode: IXMLDOMNode; const AParentNodeName: string): IXMLDOMNode;
Read more >ant/macros.xml · ec807bbf0be4a01231478c01df61993f35350741 ...
<project name="praxis-macros">. 2. <!-- cf. 3. http://blog.andrewbeacock.com/2005/08/pretty-printing-java-classpaths-using.html.
Read more >Examiner User Manual - Documentation
Please contact Altran Praxis if use of this attribute is important to your ... [1] Forward slash is used as a directory separator...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also, similar to calendars #1220 - if your users are providing this data as text, not numbers, we currently only support parsing with
'.'
as the decimal separator. If we need to support other text formats (which may be independent of how you want to display the data in tick & hover labels) we’ll need separators as a trace property too.This ticket most likely won’t be implemented. Closing.
https://github.com/plotly/plotly.js/issues/1842#issuecomment-352105362 sums up our current state-of-mind on the topic.