Maximum zoom-in limit
wbidus wrote at 2014-07-10 14:21:
I wanted to implement limits, so user cannot zoom-out too far and zoom-in too close.
Limiting zoom-out is quite simple - i just set absolutemin/absolutemax values, and it works.
As far as i know, there is no out-of-the-box feature that would work similarly but for zoom-in.
Actually, I am out of ideas - i tried disabling zooming after the length of axis was too short, but after this I am not able to zoom-out again (AxisChanged event is not called anymore).
Do You guys have any ideas how I can limit zooming-in?
objo wrote at 2014-07-10 15:07:
wbidus wrote at 2014-07-10 15:51:
Thank You, how could I miss it? It works exactly as it should :)
Slxe wrote at 2014-07-10 16:00:
objo wrote at 2014-07-11 22:04:
@Slxe: I think we can start a new discussion/issue on changing the AxisChanged event data. I am a bit hesitant to exposing more data than what is absolutely needed :-)
Both axis the same scale
everytimer wrote at 2013-08-11 19:51:
Please note that it has the shape of a circle, going from -4 to 4, but as the horizontal axis is longer my circle is deformed (is an ellipse).
How can I coerce both axis to have the same scale? And this way achieve displaying a more circular shape:
I need to do this automatically, I can't set it manually for each dataset. I can't use angle axis either.
Thanks
objo wrote at 2013-08-14 08:43:
yourPlot.PlotType = PlotType.Cartesian
See the examples!
everytimer wrote at 2013-08-14 11:44:
Pie chart click event
tbnguyen1407 wrote at 2013-05-02 10:30:
Does the pie series fire MouseUp/MouseDown event? Those events do not seem to trigger when I click on the slices.
PieSeries pieSeries = new PieSeries();
pieSeries.Slices = listOfPieSlices; // populate
pieSeries.MouseDown += (o, args) =>
{
// handle mousedown event - never trigger here
}
Thanks.objo wrote at 2013-05-06 10:39:
PieSeries
.
But it should be quite easy to implement:
- store the polygons in the
PieSeries.Render
method in a private field - in the
PieSeries.GetNearestPoint
method, check if the point is inside any of these polygons (useScreenPointHelper.IsPointInPolygon
)
see a similar implementation in theBarSeriesBase
and return a TrackerHitResult
How to set the LineSeries's line transparent e.g. 70%
David_NET wrote at 2013-11-22 11:04:
Q2, is there a way to set the chart's SmoothingMode = SmoothingMode.AntiAlias;
everytimer wrote at 2013-11-22 12:12:
myLineSeries.ChangeAlpha(x);
Q2: No idea.
Good luck
HeatMap white in the zero values (Help)
Artiga wrote at 2013-08-14 13:18:
I´m using a Heatmap in my application, but for me would me nice if i could let the points with of the Data[i,j] = 0, in the White color, or maybe transparent if possible ....
That is important, because i will put another kind of series above the heatmap, so it will be good for a better visualization ...
Thx for all =D
Artiga wrote at 2013-08-14 13:45:
pcp16 wrote at 2013-12-10 14:59:
pcp16 wrote at 2013-12-11 11:15:
You can create your own palettes like so:
var palette = OxyPalette.Interpolate(NUM_COLORS, COLOR_FROM, COLOR_TO);
So in this case, we'd like to have:var palette = OxyPalette.Interpolate(50, OxyColors.White, OxyColors.Black);
Pau.Plot with fixed axes ratio
xsquare wrote at 2013-08-21 10:08:
Thank you in advance.
everytimer wrote at 2013-08-21 11:48:
Multiple Contour Series Exception
itvieira wrote at 2013-05-31 16:45:
1 - the WPF control crashes the application when using multiple contour series in the same plot, if one of the series has IsVisible = False. Basically, the invisible series still handles the mouse events and throws a System.NullReferenceException at the line 2 of ContourSeries.GetNearestPoint() method. Is there a way to disable mouse event handling for a invisible series?, I've tried both Selectable and IsSelected properties without success.
2 - The ModelPlot Axes do no reset after Series.Clear(), even though the axes min/max values have never been set previously. This is not a big deal as one can force the Axes to Reset but would be a nice to have feature.
Many thanks,
Israel
objo wrote at 2013-06-08 11:15:
2 - no collections in this library are observable, I did this to keep it simple and stupid, so you need to call the reset methods if you want the axes to go back to default ranges. I think this should be the desired behaviour.
itvieira wrote at 2013-06-08 17:09:
I just started using this library and must say that I'm very impress with your cross UI design, great work!
I'm looking forward to contribute to this library's development in the future.
Discontinuous LineSeries
torbonde wrote at 2014-06-11 09:21:
At the moment I'm using a LineSeries, to view my data. But sometimes there might be missing datapoints, which I would like to be made aware of. I was thinking that what I want is something like LineSeries, but allowing discontinuities. For instance, such that I can specify a number (or a timespan in my case), and when two consecutive datapoints are further apart than that, no line would be drawn between them. I assume that this is not already a part of OxyPlot, but is it possible for me to implement? I have no idea where to start.
objo wrote at 2014-06-11 12:10:
DataPoint.Undefined
or set one of the coordinates to
NaN
. This should create a break in the line. Also see the BrokenLineStyle
and
BrokenLineColor
properties if you want to show a line where the break is.torbonde wrote at 2014-06-11 12:22:
Mixed from BarSeries and LineSeries
Ivan_kol wrote at 2013-07-16 20:40:
How I can do this?
Ivan_kol wrote at 2013-07-17 19:14:
Line direction markers
Davide_sd wrote at 2014-01-13 12:43:
Let say i have a line composed of N points: i would like to show to the user the line direction: this is especially usefull to show the direction from the start point to the end point in closed curves.
Is there some kind of LineSeries i cas use?
If not, is it possible to use a color map into a LineSeries?
Thanks in advance!
objo wrote at 2014-01-14 20:14:
2: No, the LineSeries can only be rendered with a single color. Multi-colored lines can also be implemented as a custom series, but I think it will be difficult to get good performance with "pen-based" drawing APIs.
Service d'assistance aux clients par UserEcho