Skip to content

Commit

Permalink
Update links in Xamarin Component files
Browse files Browse the repository at this point in the history
  • Loading branch information
objorke committed Aug 20, 2014
1 parent b4b1862 commit 860c04b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
5 changes: 3 additions & 2 deletions XamarinComponents/OxyPlot/content/Details.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ The main goals for the library are:

See [oxyplot.org](http://oxyplot.org/) for examples and documentation (under construction).

Note that this is an open source project, please collaborate.
Please use the [Codeplex](http://oxyplot.codeplex.com/) site to discuss, report bugs and request new features.
If you have questions, use the [discussion forum](http://discussion.oxyplot.org/).

To report bugs or request features, use the [issue tracker](https://github.com/oxyplot/oxyplot/issues) for the [GitHub repository](https://github.com/oxyplot/oxyplot).

# Main features

Expand Down
47 changes: 23 additions & 24 deletions XamarinComponents/OxyPlot/content/GettingStarted.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
To show a plot, you must define a `PlotModel` that includes all the data that should be displayed.
The following example shows how to add axes and a simple line series.
See the online 'Example browser' on [oxyplot.org](http://oxyplot.org/) for more example models.
See the online ['Example browser'](http://resources.oxyplot.org/examplebrowser/) on [oxyplot.org](http://oxyplot.org/) for more example models.
Note that the code defining the plots is portable, the example library is a portable class library (PCL).

```csharp
Expand All @@ -17,7 +17,7 @@ private PlotModel CreatePlotModel() {
plotModel.Axes.Add (new LinearAxis { Position = AxisPosition.Bottom });
plotModel.Axes.Add (new LinearAxis { Position = AxisPosition.Left, Maximum = 10, Minimum = 0 });

var series1 = new LineSeries {
var series1 = new LineSeries {
MarkerType = MarkerType.Circle,
MarkerSize = 4,
MarkerStroke = OxyColors.White
Expand All @@ -31,9 +31,9 @@ private PlotModel CreatePlotModel() {
series1.Points.Add (new DataPoint (6.0, 6.2));
series1.Points.Add (new DataPoint (8.9, 8.9));

plotModel.Series.Add (series1);
plotModel.Series.Add (series1);

return plotModel;
return plotModel;
}
```

Expand All @@ -47,19 +47,19 @@ using OxyPlot.XamarinIOS;

public override void ViewDidLoad ()
{
...
var plotView = new PlotView {
Model = CreatePlotModel();
Frame = this.View.Frame
};
this.View.AddSubview (plotView);
...
var plotView = new PlotView {
Model = CreatePlotModel();
Frame = this.View.Frame
};
this.View.AddSubview (plotView);
}

// Invalidate the plot view when the orientation of the device changes
public override void DidRotate (UIInterfaceOrientation fromInterfaceOrientation)
{
base.DidRotate (fromInterfaceOrientation);
this.plotView.InvalidatePlot (false);
base.DidRotate (fromInterfaceOrientation);
this.plotView.InvalidatePlot (false);
}
```

Expand All @@ -73,21 +73,20 @@ using OxyPlot.XamarinAndroid;

protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
var plotView = new PlotView (this);
plotView.Model = CreatePlotModel();
base.OnCreate (bundle);

var plotView = new PlotView (this);
plotView.Model = CreatePlotModel();

this.AddContentView (plotView,
new ViewGroup.LayoutParams (ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.FillParent));
this.AddContentView (plotView,
new ViewGroup.LayoutParams (ViewGroup.LayoutParams.FillParent, ViewGroup.LayoutParams.FillParent));
}
```

## Other Resources

* [oxyplot.org](http://oxyplot.org/) - under construction
* [Documentation](http://oxyplot.org/doc/) - under construction
* [oxyplot.codeplex.com](http://oxyplot.codeplex.com/)
* [Support Forums](http://oxyplot.codeplex.com/discussions)
* [Issues](http://oxyplot.codeplex.com/workitem/list/basic)
* `hg clone http://hg.codeplex.com/oxyplot`
* [oxyplot.org](http://oxyplot.org/)
* [Documentation](http://oxyplot.org/documentation/)
* [Source](http://github.com/oxyplot/) `git clone https://github.com/oxyplot/oxyplot.git`
* [Support forum](http://discussion.oxyplot.org/)
* [Issue tracker](https://github.com/oxyplot/oxyplot/issues)

0 comments on commit 860c04b

Please sign in to comment.