Skip to content

Feature Request: prop for pop-up card #18

@awatson1978

Description

@awatson1978

Current designs call for a pop-up or overlay card, that can inspect contents of a data point on hGraph.

Screen Shot 2020-12-08 at 11 53 01 AM

It would be ideal to be able to feed in an external React component via a prop. Possible API might look like the following:

          <HGraph
            data={ data.currentData }
            width={ graphSize }
            height={ graphSize }
            healthyRangeFillColor={themePrimaryColor}
            showScore={ false }
            margin={{ top: 140, right: 72, bottom: 140, left: 72 }}      
            popUpPosition={['bottom', 'right']} // auto?
            popUpComponent={<SimplePopUp theme="dark" />}
          /> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions