This is the discussion forum for OxyPlot.
For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!

Auto axis scales without labels

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

jezza323 wrote at 2012-08-02 16:52:

Im back with another question (still loving Oxyplot btw!)

 

I have a number of graphs in a dockable environment, which results in some of the graphs being quite small. When graphs get below a certain height, I find those which are using the automatic axis scaling on the Y axis scale such that there are no labels shown. I appears that the scaling gets below a limit which results in labels existing above and below the visible axis range.

Is there a way I can adjust this such that the scaling is somewhat dependent on the height of the control? So long as I always have some label visible I would be happy.

Cheers!


objo wrote at 2012-08-09 00:16:

See the "IntervalLength" property of the axis (it is always difficult to find good names of these properties...) - reduce the number to get higher density of labels.

There should never be less than two labels on an axis - I will add it as an bug in the issue tracker.


jezza323 wrote at 2012-08-09 00:18:

Thanks again objo

Ill look into IntervalLength tomorrow, and if I get a chance I'll see if I can investigate the bug for you


objo wrote at 2012-08-09 00:24:

good, see http://oxyplot.codeplex.com/workitem/9975

0

VB.net Axes.AngleAxis constructor problem

Nicoh 10 lat temu zaktualizowano 10 lat temu 0
Hi,
I have a problem with Oxyplot using it in VB.NET.
I'm trying to plot a polar plot, so I have to define an AngleAxis and a MagnitudeAxis.
But doing it, I have the following build errors :
Erreur 2 '.ctor' est ambigu, car plusieurs genres de membres portant ce nom existent dans class 'OxyPlot.Axes.AngleAxis'
Erreur 3 '.ctor' est ambigu, car plusieurs genres de membres portant ce nom existent dans class 'OxyPlot.Axes.MagnitudeAxis'

I've found a similar discussion in the forum, but the solution seems to be to rebuild Oxyplot after having suppressed a line in the constructor file (*.cs). But the problem I have is that I use oxyplot as a built .dll, I don't have the source and I can't use the Nuget package since my development workstation isn't connected to the internet. So is there a way to get the last version of Oxyplot as a .dll ? In the same manner that it was with codeplex..

Thank you !

Nicolas
0
W trakcie analizy

Platform specific assembly references cannot be found

Kevin Lee 10 lat temu Ostatnio zmodyfikowane przez anonymous 10 lat temu 9
I have installed OxyPlot.XamarinIOS and OxyPlot.XamarinAndroid into their respective projects in a Visual Studio Xamarin Forms solution. As a result OxyPlot.Core is also installed and I can reference this perfectly fine. However the iOS and Android assemblies cannot be found with error messages:

using OxyPlot.XamarinIOS	//Cannot resolve symbol 'XamarinIOS'
using OxyPlot.XamarinAndroid	//Cannot resolve symbol 'XamarinAndroid'
I have checked that they match the OxyPlot.Core version, which is 2014.14.447. I have tried cleaning and rebuilding but nothing is working.

Oxyplot Features

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

dpraveen9 wrote at 2013-12-30 19:42:

There a lot of examples of charts using D3 JavaScript

https://github.com/mbostock/d3/wiki/Gallery

Any plans to support any of these charts ?
Bubble Chart
Chord Chart
Bullet Chart....

objo wrote at 2014-01-07 21:49:

Thanks for the link! The D3 library is very cool!
Most of these chart types can be implemented as custom series (but animations are not yet supported by OxyPlot), and I think some of them could also be included in the OxyPlot core library - I have added the 3 you mention under issues.

How to show context menu for a data point in a line series in WPF?

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

oriches wrote at 2014-05-08 16:37:

How to show context menu for a data point in a line series in WPF?

objo wrote at 2014-05-10 23:23:

The client application must create the context menu, this is not supported by the WPF Plot control.

oriches wrote at 2014-05-12 10:58:

Thanks for the info.

Windows Phone 8.1 support

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

pote wrote at 2014-07-29 10:45:

Any plans for Windows Phone 8.1 support? (non-Silverlight)

Formatting the Tracker control

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

idmm wrote at 2013-08-02 14:15:

Hello,

is there a way to format the Tracker control? Mine has a yellow background with the text written in white on it. It's pretty ugly, actually. Any help here would be appreciated...

everytimer wrote at 2013-08-02 20:12:

There are plenty of examples explaining how to do that in XAML. Good luck

How to create a legend with WPF Xaml code?

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

aec wrote at 2012-08-23 21:15:

Hi, I have studied your legend demos. But what I have only found is the creation of a legend with C# code. Is there a possibility to do the same with xaml code?


objo wrote at 2012-08-24 08:26:

It should be possible also in XAML. I think all Legend* properties are included in OxyPlot.Wpf.Plot. 

Remember to set the Title of the series.


aec wrote at 2012-08-24 10:59:

Hi, objo. After setting the Title of the series everything is working fine. Thanks for this hint.

0

Programmatically added series are not displayed

Daniele Fusi 9 lat temu 0

I'm trying to use OxyPlot in a scenario where I'm setting up the chart type and adding 1 or more series to it programmatically. Thus, in my code I create a new PlotModel object, add the required axes to it, create a new series object, add some data points to it, and finally call InvalidatePlot(true) to let the chart draw itself. Yet, nothing is displayed. The only code samples I found refer to the typical scenario where a XAML view binds to a bound datasource, but here I'm recreating the PlotModel each time, according to the chart type and series count. You can find a dummy repro solution here: http://1drv.ms/1R8EFBc . Just compile and run, and click Add series. Could anyone suggest a solution?

Invisible Axis Label

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

amity2001 wrote at 2013-03-27 07:36:

Hello again,

I have a query.
How can I hide [some of] axis labels from graph.
OR
Is it possible to configure axis labels interval.
I want to show major and minor grid lines at particular interval, but I don't want to show axis label on every major interval but on every 10th of major interval.

Is it possible with OxyPlot.

Thanks.