ChartDirector 7.1 (.NET Edition)

RazorChartViewer.ZoomInWidthLimit


Declaration

[C#]public double ZoomInWidthLimit {get; set;};
[VB]Public Property ZoomInWidthLimit As Double

Description

Gets or sets the viewport width at maximum zoom in.

Note: This property is applicable only if the browser side JsChartViewer is included in the web page.

In many applications, it is desirable to set a maximum zoom in level, instead of allowing the user to zoom in indefinitely.

This property determines the minimum allowed viewport width. It should be between 0 and 1. The default is 0.01, which means a maximum zoom in of 100x (the viewport see only 1% of the underlying surface).