Summary
I'm trying to implement a custom class which implements the IMarker interface.
You have the following definition of the interface in IMarker.d.ts
import { Highlight } from '../highlight/Highlight';
import { Entry } from '../data/Entry';
import { MPPointF } from '../utils/MPPointF';
import { Canvas } from '@nativescript-community/ui-canvas';
export interface IMarker {
getOffset(): MPPointF;
getOffsetForDrawingAtPoint(posX: any, posY: any): MPPointF;
refreshContent(e: Entry, highlight: Highlight): any;
draw(canvas: Canvas, posX: any, posY: any): any;
}
But it seems like you forgot to export MPPointF for us developers to use. So, I'm unable to import it and implement the 2 methods that are supposed to return the offsets.
Expected Behavior
I expected it to be able to somehow import this in my application. I started with this import statement
import { MPPointF } from '@nativescript-community/ui-chart/utils;
and I've searched in all the folders in your package and I don't see an export for it anywhere
Possible Solution
Please export this and let us know where.
Device (please complete the following information):
- Device: Pixel 3
- Android Version Android 13 API v33
- Library Version : 8.5.0
ADD A REWARD using Speed to SOLVE this issue QUICKLY and SUPPORT this project.
Summary
I'm trying to implement a custom class which implements the IMarker interface.
You have the following definition of the interface in IMarker.d.ts
But it seems like you forgot to export MPPointF for us developers to use. So, I'm unable to import it and implement the 2 methods that are supposed to return the offsets.
Expected Behavior
I expected it to be able to somehow import this in my application. I started with this import statement
import { MPPointF } from '@nativescript-community/ui-chart/utils;and I've searched in all the folders in your package and I don't see an export for it anywhere
Possible Solution
Please export this and let us know where.
Device (please complete the following information):
ADD A REWARD using Speed to SOLVE this issue QUICKLY and SUPPORT this project.