ChartDirector Ver 4.1 (PHP Edition Edition)

WebChartViewer


WebChartViewer is the server side counterpart to the browser side Javascript ChartViewer (JsChartViewer). Its main function is to handle chart update requests from JsChartViewer.

WebChartViewer is designed to act like a "proxy" to the JsChartViewer. During a partial chart update request, JsChartViewer will send its properties to the WebChartViewer and they will become the properties of the WebChartViewer. For example, the view port positions of the JsChartViewer will become the view port properties of the WebChartViewer. When the WebChartViewer responses, it will send the properties back to the JsChartViewer. Any properties modified on the server side will be reflected on the browser side.

MethodInheritedDescription
WebChartViewer(Self)Creates a new WebChartViewer object.
getId(Self)Gets the id of the WebChartViewer object.
setImageUrl(Self)Sets the URL used by the <IMG> tag to load the chart image.
getImageUrl(Self)Gets the URL used by the <IMG> tag to load the chart image.
setImageMap(Self)Sets the image map associated with the chart.
getImageMap(Self)Gets the image map associated with the chart.
setChartMetrics(Self)Sets the chart metrics of the chart.
getChartMetrics(Self)Gets the image map associated with the chart.
makeDelayedMap(Self)Creates a delayed image map suitable for use in JsChartViewer.
renderHTML(Self)Generates the HTML tags necessary to represent the chart, image map, and the JsChartViewer state.
partialUpdateChart(Self)Generates the response to a partial chart update request.
isPartialUpdateRequest(Self)Checks if the current HTTP Request is a partial update request (AJAX request) sent using JsChartViewer.partialUpdate.
isFullUpdateRequest(Self)Checks if the current HTTP request is a full update request containing information from a JsChartViewer.
isStreamRequest(Self)Checks if the current HTTP request is a stream update request sent using JsChartViewer.streamUpdate.
isViewPortChangedEvent(Self)Checks if the JsChartViewer.ViewPortChanged event has occurred.
getSenderClientId(Self)Gets the id of the JsChartViewer that sends the current HTTP request.
setViewPortLeft(Self)Sets the position of the left side of the view port.
getViewPortLeft(Self)Gets the position of the left side of the view port.
setViewPortTop(Self)Sets the position of the top side of the view port.
getViewPortTop(Self)Gets the position of the top side of the view port.
setViewPortWidth(Self)Sets the width of the view port.
getViewPortWidth(Self)Gets the width of the view port.
setViewPortHeight(Self)Sets the height of the view port.
getViewPortHeight(Self)Gets the height of the view port.
setMouseUsage(Self)Sets the mouse usage mode of the control.
getMouseUsage(Self)Gets the mouse usage mode of the control.
setZoomDirection(Self)Sets the zoom direction for mouse zoom in/out actions.
getZoomDirection(Self)Gets the zoom direction for mouse zoom in/out actions.
setScrollDirection(Self)Sets the scroll direction for mouse scroll actions.
getScrollDirection(Self)Gets the scroll direction for mouse scroll actions.
setZoomInRatio(Self)Sets the magnification ratio for each zoom in click of the mouse.
getZoomInRatio(Self)Gets the magnification ratio for each zoom in click of the mouse.
setZoomOutRatio(Self)Sets the magnification ratio for each zoom out click of the mouse.
getZoomOutRatio(Self)Gets the magnification ratio for each zoom out click of the mouse.
setZoomInWidthLimit(Self)Sets the view port width at maximum zoom in.
getZoomInWidthLimit(Self)Gets the view port width at maximum zoom in for mouse zoom in actions.
setZoomOutWidthLimit(Self)Sets the view port width at maximum zoom out.
getZoomOutWidthLimit(Self)Gets the view port width at maximum zoom out for mouse zoom out actions.
setZoomInHeightLimit(Self)Sets the view port height at maximum zoom in.
getZoomInHeightLimit(Self)Gets the view port height at maximum zoom in for mouse zoom in actions.
setZoomOutHeightLimit(Self)Sets the view port height at maximum zoom out.
getZoomOutHeightLimit(Self)Gets the view port height at maximum zoom out for mouse zoom out actions.
setMinimumDrag(Self)Sets the minimum mouse drag distance before it is considered as an intentional drag.
getMinimumDrag(Self)Gets the minimum mouse drag distance before it is considered as an intentional drag.
setSelectionBorderWidth(Self)Sets the border width of the zoom selection box.
getSelectionBorderWidth(Self)Gets the border width of the zoom selection box.
setSelectionBorderColor(Self)Sets the border color of the zoom selection box as an HTML color.
getSelectionBorderColor(Self)Gets the border color of the zoom selection box.
setZoomInCursor(Self)Sets the mouse cursor to be used when the mouse is used for zoom in.
getZoomInCursor(Self)Gets the mouse cursor to be used when the mouse is used for zoom in.
setZoomOutCursor(Self)Sets the mouse cursor to be used when the mouse is used for zoom out.
getZoomOutCursor(Self)Gets the mouse cursor to be used when the mouse is used for zoom out.
setNoZoomCursor(Self)Sets the mouse cursor to be used when the mouse is used for zoom in/out, but the zoom in/out limits has been reached.
getNoZoomCursor(Self)Gets the mouse cursor to be used when the mouse is used for zoom in/out, but the zoom in/out limits has been reached.
setScrollCursor(Self)Sets the mouse cursor to be used when the mouse is used for scrolling.
getScrollCursor(Self)Gets the mouse cursor to be used when the mouse is used for scrolling.
setCustomAttr(Self)Sets a custom attribute.
getCustomAttr(Self)Gets a custom attribute.