I'm looking for tips on how to implement a magnifying glass tool on a line chart visualization.
Sometime the data points are really close together and they bunch up, making hard to tell which is which.
Any suggestions (or even alternatives)?
I'm looking for tips on how to implement a magnifying glass tool on a line chart visualization.
Sometime the data points are really close together and they bunch up, making hard to tell which is which.
Any suggestions (or even alternatives)?
There is an option in user interface that lets you zoom in on an area to see more details. You simply drag your cursor to select an area of the (Line) chart, and it will automatically zoom.
You may find this setting in the Properties panel -> Main tab -> Selection Cursor
You can choose whether the selection should be made horizontally, vertically, or both. The Select Action should be “Zoom In” and based on your need you may check the “Movable” and “Resizable” options as well.
On a side note, there are “Zoom In” and Zoom Out” options on the context menu of the chart.
Thank you! Azar. This is exactly what I was looking for.
Hi Azar,
I don't see 'Zoom In' as an option under 'Select Action'. Would you know what caused that? Is there anythingI should config first?
Thanks,
Jian
The Zoom In option was incorrectly hidden in version 4.0.0, which was fixed in 4.0.1.
If you cannot upgrade to version 4.0.1, the setting can be changed via script. You can type the following script into the JavaScript console while the chart is selected when editing.
If the setting is changed using the script and then saved, the script is no longer needed.
dundas.context.canvasService.selection[0].businessObject.control.selectionCursor.selectionMode = dundas.controls.ChartSelectionMode.ZOOM
Please see the following links for further details:
Also, if this setting was used in previous versions, for other charts, this would be preserved, even if the Properties panel shows the current value as something different.