Skip to content

Missing export of MPPointF #56

@vthil3049

Description

@vthil3049

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions