Comments (2)
This is a good idea. I'll put this in shortly.
I'll probably add arguments so you can call it like like:
plt.PlotVLine(123, draggable: true, dragLimitLower: 0, dragLimitUpper: 1000);
And those limits will default to - and + infinity if not specified.
from scottplot.
I added 2 extra arguments to let you limit how far the user can drag a draggable axis line. 6af45af
scottPlotUC1.plt.PlotVLine(position, draggable: true, dragLimitLower: 0, dragLimitUpper: 49);
By default those arguments are negative and positive infinity (no restriction on dragging).
I'll publish this with the next NuGet release
from scottplot.
Related Issues (20)
- Plot: ScaleFactor should be a double HOT 1
- ScottPlot 5: Add support for Radar chart HOT 5
- X axis and Y axis MeasureTicks does not take tick rotation into account cutting off X axis tick labels and leaving additional space for Y axis tick labels. HOT 1
- Demo: add search bar HOT 1
- Scatter: GetNearest() can throw System.IndexOutOfRangeException HOT 3
- Feature request: Scatter-list-generic support for scottplot 5.0 HOT 3
- March 2024 Roadmap πΊοΈ
- SP5: Minimal WPF Demo HOT 6
- Plot Synchronization Problem: Top Axis Series Fails to Change on Zoom HOT 4
- Plot: not all methods or behaviors properly support `ScaleFactor`
- Interaction: Alternate packaging to isolate mouse actions
- Adding recipe for showing rotated tick labels with long descriptions
- ScottPlot performance regarding plotting polygons. HOT 2
- ScottPlot 5.0 bar graph ShowValuesAboveBars HOT 3
- ScottPlot.csproj: require SkiaSharp.NativeAssets.Linux.NoDependencies on all platforms HOT 1
- Website: Clarify Blazor support on Quickstart page
- How to show values on pie chart using ScottPlot 5 HOT 1
- Improve tick label measurement for multi-line labels HOT 1
- NuGet: multiple package issues HOT 4
- Rendering problems in AvaloniaUI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scottplot.