iOS: code cleanup
↧
Source code checked in, #943b4f121dac
↧
Closed Unassigned: iOS invalidate plot control when changing orientation [10143]
when changing between portrait and landscape orientation, the plot control should be invalidated
Comments: Implemented in controller DidRotate
Comments: Implemented in controller DidRotate
↧
↧
Closed Feature: iOS plot view [10136]
Create a custom control for Xamarin.iOS
Should be possible to use in the Xamarin designer
http://docs.xamarin.com/guides/ios/user_interface/designer/ios_designable_controls_walkthrough/
Support touch events
Should be possible to use in the Xamarin designer
http://docs.xamarin.com/guides/ios/user_interface/designer/ios_designable_controls_walkthrough/
Support touch events
↧
Closed Feature: iOS image rendering [10137]
Support image rendering on iOS
↧
Commented Unassigned: iOS CoreText Plot Title Off Center [10163]
The move to CoreText appears to have placed titles off center, see the attached screenshot...the title should line up nicely under the clock, but appears skewed.

Comments: Just checked with the latest source and this commit: [https://oxyplot.codeplex.com/SourceControl/changeset/4864add24799](https://oxyplot.codeplex.com/SourceControl/changeset/4864add24799), I thought that might address the alignment of the title...still positioned in the same location, off center to the right.

Comments: Just checked with the latest source and this commit: [https://oxyplot.codeplex.com/SourceControl/changeset/4864add24799](https://oxyplot.codeplex.com/SourceControl/changeset/4864add24799), I thought that might address the alignment of the title...still positioned in the same location, off center to the right.
↧
↧
New Post: iOS CoreText Slowing Down Plot Render on First Draw?
Latest release has put this issue to bed...plots no longer lag on first draw!
Nice work!
Nice work!
↧
Commented Unassigned: iOS CoreText Slowing Down Plot Render on First Draw [10162]
See discussion - [https://oxyplot.codeplex.com/discussions/538545](https://oxyplot.codeplex.com/discussions/538545)
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
Comments: Latest release puts this issue to bed, speed is back up to what is expected.
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
Comments: Latest release puts this issue to bed, speed is back up to what is expected.
↧
Commented Unassigned: iOS CoreText Slowing Down Plot Render on First Draw [10162]
See discussion - [https://oxyplot.codeplex.com/discussions/538545](https://oxyplot.codeplex.com/discussions/538545)
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
Comments: It is safe to close this issue
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
Comments: It is safe to close this issue
↧
New Post: iOS CoreText Slowing Down Plot Render on First Draw?
It is safe to close issue https://oxyplot.codeplex.com/workitem/10162
↧
↧
New Post: iOS CoreText Plot Title Off Center
See details in issue https://oxyplot.codeplex.com/workitem/10163
Any ideas on things to go after, things I can attempt to debug, things to try to shed some more light on this issue? I'm super motivated to put this one to bed, it is the last thing holding me up before pushing a release to the App Store.
Thanks!
Any ideas on things to go after, things I can attempt to debug, things to try to shed some more light on this issue? I'm super motivated to put this one to bed, it is the last thing holding me up before pushing a release to the App Store.
Thanks!
↧
Commented Unassigned: iOS CoreText Plot Title Off Center [10163]
The move to CoreText appears to have placed titles off center, see the attached screenshot...the title should line up nicely under the clock, but appears skewed.

Comments: I think the current alignment of the title is as intended. To get the title aligned in the center of the view, you must ensure that the left and right margins are equal. Set `AutoAdjustPlotMargins` to false, and set the `PlotMargins` manually.

Comments: I think the current alignment of the title is as intended. To get the title aligned in the center of the view, you must ensure that the left and right margins are equal. Set `AutoAdjustPlotMargins` to false, and set the `PlotMargins` manually.
↧
Commented Unassigned: iOS CoreText Slowing Down Plot Render on First Draw [10162]
See discussion - [https://oxyplot.codeplex.com/discussions/538545](https://oxyplot.codeplex.com/discussions/538545)
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
Comments: That´s great, but I don´t understand why this changed :-) Let us reopen the issue if the problem comes back.
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
Comments: That´s great, but I don´t understand why this changed :-) Let us reopen the issue if the problem comes back.
↧
Closed Unassigned: iOS CoreText Slowing Down Plot Render on First Draw [10162]
See discussion - [https://oxyplot.codeplex.com/discussions/538545](https://oxyplot.codeplex.com/discussions/538545)
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.
Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.
This is noticeable on the simulator, and becomes in your face on the device.
In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.
If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.
↧
↧
Commented Unassigned: iOS CoreText Plot Title Off Center [10163]
The move to CoreText appears to have placed titles off center, see the attached screenshot...the title should line up nicely under the clock, but appears skewed.

Comments: That's disappointing since before the CoreText changeover this wasn't an issue, now there are a bunch of extra steps that need to take place to center the title. This isn't just happening in my app, the demo app for oxyplot also has all of its titles off center. It is very apparent if you shorten a title like I did above on the date plot.

Comments: That's disappointing since before the CoreText changeover this wasn't an issue, now there are a bunch of extra steps that need to take place to center the title. This isn't just happening in my app, the demo app for oxyplot also has all of its titles off center. It is very apparent if you shorten a title like I did above on the date plot.
↧
New Post: Tooltip only for provided data points
Hi,
First of all, great Charting component. Just started using it.....
The question from me is, I would like to have a tool tip in a 2D line graph with only provided data points from me. As of now, it displays even the data points I havent provided and solves itself for the intermediate points. Is it possible someway to display the last or nearest "provided" data point in the tool tip?
Thanks in advance
Best,
Bala
First of all, great Charting component. Just started using it.....
The question from me is, I would like to have a tool tip in a 2D line graph with only provided data points from me. As of now, it displays even the data points I havent provided and solves itself for the intermediate points. Is it possible someway to display the last or nearest "provided" data point in the tool tip?
Thanks in advance
Best,
Bala
↧
Commented Unassigned: ToPdf extension method [10172]
The PlotModel has the ToSvg method. I was searching for the pdf export functionality and had to use one of the examples to find out how to do this.
I think it would be great if a small extension method could be added:
```
public static byte[] ToPdf(this PlotModel plotModel)
{
Argument.IsNotNull(() => plotModel);
return ToPdf(plotModel, plotModel.Width, plotModel.Height);
}
public static byte[] ToPdf(this PlotModel plotModel, double width, double height)
{
Argument.IsNotNull(() => plotModel);
using (var memoryStream = new MemoryStream())
{
PdfExporter.Export(plotModel, memoryStream, width, height);
return memoryStream.ToArray();
}
}
```
Comments: There is also simple pdf export in the core library. Use `OxyPlot.PdfExporter`, so it is possible to add an extension method here. I agree it is good to be consistent with the ToSvg extension method, but I see limited value since this is basically one line of code. Also, how much value is it to get a byte array? I think I would rather prefer to remove the `PlotModel.ToSvg` method!
I think it would be great if a small extension method could be added:
```
public static byte[] ToPdf(this PlotModel plotModel)
{
Argument.IsNotNull(() => plotModel);
return ToPdf(plotModel, plotModel.Width, plotModel.Height);
}
public static byte[] ToPdf(this PlotModel plotModel, double width, double height)
{
Argument.IsNotNull(() => plotModel);
using (var memoryStream = new MemoryStream())
{
PdfExporter.Export(plotModel, memoryStream, width, height);
return memoryStream.ToArray();
}
}
```
Comments: There is also simple pdf export in the core library. Use `OxyPlot.PdfExporter`, so it is possible to add an extension method here. I agree it is good to be consistent with the ToSvg extension method, but I see limited value since this is basically one line of code. Also, how much value is it to get a byte array? I think I would rather prefer to remove the `PlotModel.ToSvg` method!
↧
Source code checked in, #c5238553efa5
#10163 Add TitleHorizontalAlignment property
↧
↧
Closed Unassigned: iOS CoreText Plot Title Off Center [10163]
The move to CoreText appears to have placed titles off center, see the attached screenshot...the title should line up nicely under the clock, but appears skewed.

Comments: Added PlotModel.TitleHorizontalAlignment property. Set it to CenteredWithinView

Comments: Added PlotModel.TitleHorizontalAlignment property. Set it to CenteredWithinView
↧
Source code checked in, #a3634c8ee6fa
#10172 Remove the PlotModel.ToSvg method. Use the SvgExporter instead.
↧
Source code checked in, #1cba05a645d7
Correct build warnings (tabs introduced by Xamarin Studio)
↧