Quantcast
Channel: oxyplot Discussions Rss Feed
Viewing all 1267 articles
Browse latest View live

New Post: Polar chart question

$
0
0
Objo

Thanks for the FAST response ! It works!!

New Post: Moving the project to GitHub

$
0
0
Yea using Discourse sounds like a good option, and seems pretty easy to set up. Was also going to suggest google groups if that doesn't work as needed.

New Post: Moving the project to GitHub

$
0
0
The forum is really the one thing I miss comparing codeplex to GitHub. StackOverflow is not as good as it used to be in terms of answering questions, especially when you have relatively specific library-oriented questions.

Some projects like to use the issue tracker for asking question, but I find it gets crowded quickly and you end up having hard time trying to sort bugs/features requests and questions.

New Post: Axis label angle set to 90 degrees

New Post: Drag & Drop

New Post: Axis label angle set to 90 degrees

$
0
0
Adjust the AxisTitleDistance property of the axis:
model.Axes[0].AxisTitleDistance = 100;
Good luck.

New Post: [Solved] UserControl: XamlParseException

$
0
0
Yep, this was very trivial.
For some reason VS was not copying OxyPlot.wpf.dll in the necessary path... I had to do it manually.
Oddly enough this happened also on another PC with Windows 8.1...

New Post: [Solved] UserControl: XamlParseException

$
0
0
Did you use the OxyPlot.Wpf NuGet package? Maybe there is something that should be fixed..

New Post: Axis label angle set to 90 degrees

$
0
0
what is the value of model.PlotMargins.Bottom? If set to NaN, the margin should be adjusted automatically. If that is not working, then it is a bug! Using the AxisTitleDistance is a work-around :-)

New Post: Drag & Drop

$
0
0
Sorry, I don't understand the problem here. Can anyone help?

New Post: [Solved] UserControl: XamlParseException

$
0
0
Yes, I installed it from the NuGet Package Manager (not the console).

New Post: DateTimeAxis question

$
0
0
Hi :) I'm working with time series, and i need to display periodical data only for concrete part of day (9am - 18pm) . Are there any way to do this? Thanks.

New Post: DateTime Axis with label dates not 1 January each year

$
0
0
I am creating long-term forward-looking graphs at future dates e.g. with the data points being annually from 30 June 2014 for the next 20 years, and the DateTime axis always defaults to showing me 1 Januaries on the x axis.

Is there any way to specify that the x axis labels should instead be every 30 June (or indeed any other date in the year)?

New Post: Moving the project to GitHub

$
0
0
Agreed, it'd be nice if github implemented some kind of simple message board, using the issue tracker for questions just makes it an absolute mess. Having an Oxyplot discourse board seems like a good idea, their sandbox looks good enough, although it doesn't look like it's free? ... Bah it's a Rails app though >_> much prefer django/flask stuff myself, this is kinda what stopped me from setting up Jekyll too lol, don't really want to touch Ruby...

Hmm looks like you can use Pelican to setup github.io pages (link1link2link3) and use reStructuedText (or 3 other markups). Now I don't have an excuse anymore lol.

New Post: Synced Major Gridlines

$
0
0
I've been syncing the axes using Zoom, although imo it's messy and I'm not really happy with it. As far as major grid lines I just leave the primary vertical and horizontal axes to handle them >_> again not a good overall solution. I mentioned in another post that it'd also be nice to have AxisChangeTypes include the type of zoom (by scale, factor or values) and the actual values sent, to make it easier to transform them into screen points and use them with the other axes.

Here's how I'm handling the axes, pretty sure I based it off an example:
(Quick note, this is done for multiple vertical and one horizontal axes)
privatevoid Axis_OnAxisChanged(object sender, AxisChangedEventArgs args)
{
    if (_syncChange || ((Axis) sender).IsHorizontal())
        return;
    
    _syncChange = true;
    switch (args.ChangeType)
    {
        case AxisChangeTypes.Zoom:
        case AxisChangeTypes.Pan:
            _chartIsZoomed = true;
            foreach (var a in uiChartPlot.Model.Axes)
            {
                if (a.Key == ((Axis) sender).Key || a.IsHorizontal())
                    continue;

                double min =
                    a.InverseTransform(
                        ((Axis) sender).Transform(((Axis) sender).ActualMinimum));
                double max =
                    a.InverseTransform(
                        ((Axis) sender).Transform(((Axis) sender).ActualMaximum));

                a.Zoom(min, max);
            }
            break;

//      case AxisChangeTypes.Zoom://          break;case AxisChangeTypes.Reset:
            _chartIsZoomed = false;
            break;
    }

    uiChartPlot.InvalidatePlot(false);
    _syncChange = false;
}

New Post: WPF version line series thickness

$
0
0
Is there a way to make line series stroke thickness looks like axis?
Set stroke thickness to 1 do not work.

Image

Thanks

New Post: OutOfMemoryException with ItemsControl

$
0
0
Not sure is this an Issue or not, so post here first.

When the plotView is wrapped into ItemsControl, after several mouse mid-button zoom in operations, get OutOfMemoryException.

Tested with version 2014.1.319.1
<ItemsControl x:Name="PART_ItemsControl" ItemsSource="{Binding Models}">
        <ItemsControl.ItemTemplate>
            <DataTemplate>
                <Border>
                    <oxy:PlotView MinHeight="600" Model="{Binding}" />
                </Border>
            </DataTemplate>
        </ItemsControl.ItemTemplate>
    </ItemsControl>
   at System.Collections.Generic.List`1.set_Capacity(Int32 value)
   at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
   at System.Collections.Generic.List`1.Add(T item)
   at OxyPlot.CanonicalSplineHelper.Segment(IList`1 points, ScreenPoint pt0, ScreenPoint pt1, ScreenPoint pt2, ScreenPoint pt3, Double t1, Double t2, Double tolerance) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Rendering\Utilities\CanonicalSplineHelper.cs:line 207
   at OxyPlot.CanonicalSplineHelper.CreateSpline(IList`1 points, Double tension, IList`1 tensions, Boolean isClosed, Double tolerance) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Rendering\Utilities\CanonicalSplineHelper.cs:line 151
   at OxyPlot.Series.LineSeries.RenderLineAndMarkers(IRenderContext rc, OxyRect clippingRect, IList`1 pointsToRender) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Series\LineSeries.cs:line 703
   at OxyPlot.Series.LineSeries.RenderPoints(IRenderContext rc, OxyRect clippingRect, ICollection`1 points) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Series\LineSeries.cs:line 520
   at OxyPlot.Series.LineSeries.Render(IRenderContext rc, PlotModel model) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Series\LineSeries.cs:line 366
   at OxyPlot.PlotModel.RenderSeries(IRenderContext rc) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 387
   at OxyPlot.PlotModel.RenderOverride(IRenderContext rc, Double width, Double height) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 116
   at OxyPlot.PlotModel.OxyPlot.IPlotModel.Render(IRenderContext rc, Double width, Double height) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 53
   at OxyPlot.Wpf.PlotView.UpdateVisuals() in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\PlotView.cs:line 1104
   at OxyPlot.Wpf.PlotView.ArrangeOverride(Size arrangeBounds) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\PlotView.cs:line 560
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 

New Post: DateTimeAxis question

$
0
0
Or maybe you can advice other axeses to solve this problem.

New Post: How to copy a plot in WindowsForms ?

$
0
0
Hi~~ I am using WindowsForms, and i need to copy a plot to clipboard after i press a button. In what way can i accomplish this? Thanks.

New Post: DateTimeAxis question

$
0
0
I haven't played with many other axis besides LinearAxis so far, but couldn't you use the TimeSpanAxis or CategoryAxis?
Viewing all 1267 articles
Browse latest View live