Implement different data-based autorange mode
See original GitHub issueScatter graph with traces using autorange on x-axis has left and right gap if any of the traces has markers
flag set on trace.mode
.
If mode='lines'
for all traces, the leftmost trace points are displayed on the leftmost point of X-axis, but if the mode
is changed to e.g. lines+markers
, there is a gap from the left and from the right. This visualization looks strange for time series data - it looks like there are no data point within the gaps…
See sample, change the traceX.mode
to lines
to see the difference.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Managing database connections
You can connect as many private databases to your Mode Workspace as you like. Mode supports connecting to most popular types of relational...
Read more >Set a database to single-user mode - SQL Server
Right-click the database to change, and then select Properties. In the Database Properties dialog box, select the Options page.
Read more >Configure database connections | DataGrip Documentation
This mode allows you to see the temporary objects in the database tree, or use the same transaction in different query consoles.
Read more >Multiple databases
If you don't want every application to be synchronized onto a particular database, you can define a database router that implements a policy...
Read more >hyper tough 10711wdi multimeter manual
Manual Ranging: Multimeters - Another Teaching Moment | Digi-Key Electronics how to use digital multimeter urdu/hindiULTRICS Digital LCD Multimeter Unboxing ...
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
Not sure if this helps you guys, but here is an example of removing the padding on the X-Axis for line+scatter charts.
https://jsfiddle.net/amroczeK90/waj25yc8/3/
Setting the range on the X-Axis did the trick.
xaxis: { range: [data[0][“x”][0], data[0][“x”][data[0][“x”].length-1]] }
Also make sure you haven’t set “autorange” to true.
Any progress on this?
It’s a bit of a waste to have padding that could be used for actual data at both ends of the chart when markers are used.