Skip to content

Custom tool tips position #183

Description

@rnidea2code

tooltipComponent={
<Tooltip
value={chartData}
position={{x: 10, y: 5}}
theme={{
label: {fontSize: 12},
shape: {width: 50,height:50},
formatter(value) {
return (

{value.y}

);
// return ${Number(value.y).toFixed(2)};
},
}}
/>
}

I had tried to create my custom component for the tooltips but not able to give position on the custom tooltips box it's take fixed position so please give me suggestion for that how can i set my tooltips on my chart data point

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions