Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
945
Zoom not working in a jQuery Dialog box
posted

Guys,

I have my igDataChart in a popout dialog box so that I can make the chart bigger.

Everything is working great except for the part where the chart zooms. I've set both verticalZoomable and horizontalZoomable to true. I can see the selection area when you use the mouse cursor but it doesn't zoom.

Here is my code. Am I missing something? Can you give me any suggestions on how to get it working?

$("#revcostchart").igDataChart({
width: "500px",
height: "350px",
verticalZoomable: true,
horizontalZoomable: true,
dataSource: d,
axes:
[
{
name: "catX",
type: "categoryX",
label: "Month"
},
{
name: "numY",
type: "numericY",
minimumValue: 0,
formatLabel: function (val) { return '$' + val; }
}
],
series:
[
{
name: "Reviewer Costs",
title: "ReviewerCosts",
type: "column",
xAxis: "catX",
yAxis: "numY",
valueMemberPath: "Value",
showTooltip: true,
isDropShadowEnabled: true,
isHighlightingEnabled: true,
isTransitionInEnabled: true,
tooltipTemplate: "tooltipTemplate5",
}
]
});

Thanks!

Parents Reply Children
No Data