Associating a kernel with MonoTouch

I'm having problems using the Core-Plot library in MonoTouch. I use this as a starting point for MonoTouch bindings. It seems to me that the binding is not finished yet.

I skip classes like CPXYGraph and CPGraphHostingView ... Maybe I don't need the CPXYGraph class, but how do I instantiate a CPGraph?

Has anyone successfully used Core-Plot in MonoTouch and / or had an example?

What other printing solutions in MonoTouch would you recommend? (I cannot use google goi diagram because internet connection is not guaranteed)

Edit:

Here is an example of the code I'm having problems with:

CPTheme theme = CPTheme.ThemeNamed("Plain Black"); // Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.
CPGraph graph = (CPGraph)theme.NewGraph();

I am using Base Plot Alpha Release 0.2.2 version and link:

-gcc_flags "-L${ProjectDir} -lCorePlot -force_load "${ProjectDir}/libCorePlot.a" -ObjC"
+3
source share
1

- MonoTouch 4.0, , , , , .

+3

Source: https://habr.com/ru/post/1795458/


All Articles