I want to display some toolip on hover in chart. Is there a way to get absolute coordinates of mouse when hover inside chart. I can find plotX and plotY but they are not giving absolute positions.
Related
I know I can get the actual value to show up in the pie chart, i.e. on the slice. However I want the percentage in the pie chart (which I can get to show up) since it is more likely to fit in a slice and the actual value underneath the label. However no matter what I do I can't get anything besides the respective percentage to show up underneath each slice's label. Help!
I understand that you want to change your pie graph hiding the percentage shown inside the pie slice. If that is your goal, then you only have to update one chart setting. Follow these steps:
Double left click on the chart. The chart editor sidebar will open.
Click on the Customise tab.
Open the Pie chart submenu.
Update the Slice label property from Percentage to None.
I want to draw a bubble chart using Highcharts with an arrow or a pointer that points to a certain position on the circumference of the bubble depending upon a data value.
Think of it like this: each bubble is like a gauge without any calibrations. It has just a dial which points to a single point on the bubble surface, preferably on the inside.
This is an example image of the bubble for reference:
Is this possible? Or am I reaching?
I got an answer from the Highcharts forum where I'd posted the same question:
http://forum.highcharts.com/highcharts-usage/bubble-charts-with-arrow-pointers-t36575/
I'm using the built-in spline curve fit to an x-y plot. Is there a way of getting access to the splined data that HighCharts itself is plotting? I (obviously) have access to my supplied x,y co-ordinates but I'd like access to the HighCharts-calculated spline intermediate values.
Take http://www.highcharts.com/demo/spline-symbols as an example. The raw data is (month,temperature) and the closest point to the mouse get displayed as a tooltip. I'm interested in displaying the intermediate 'points' so that as I move my mouse along a line it displays the calculated spline values.
Is this possible?
This has been dormant for a while but I did manage to figure out a way of doing it. See also a related follow up question.
Say you want to find a 'y' value for a given 'x' on a HighCharts generated spline. If you can get at the SVG path for that spline then you can walk it's length until you hit the required 'x'. Then read off the required 'y'.
This fiddle gives an example: https://jsfiddle.net/r3f2xL6b/1/
In Scatter chart I have put a overlay div for point click, but when i click the same marker multiple times without moving my mouse pointer it is not considering it to be a click on point and it is considering it as click on chart
I want to add a label to a core plot scatter chart. It should be at a specific y value at the left edge of the chart, like that:
I tried doing it using annotation but I have a problem with dragging. When I drag the chart the annotation is also being dragged, and I would like it to always stay at the left edge.
Create your label as a plot space annotation. Use a plot space delegate to monitor changes to the xRange and update the x-value of the anchor point as needed. You can use the plot space to convert the desired x-position to the corresponding data value for the anchor point.