If you want to create a drill down chart in a windows application you must When the user click on the red slice, the following subchart will be loaded: Response.BinaryWrite(tempStream.ToArray()) InMemoryImage.Save(tempStream,ImageFormat.Gif) MemoryStream tempStream = new MemoryStream() Parameters above, ChartDrillDown.aspx?DATA=subpiechart1.txt) When the users clicks in the piechart the following page is executed (see SERIE_LINKS_1 SERIE_LINKS_1=ChartDrillDown.aspx?DATA=subpiechart1.txt|ChartDrillDown.aspx?DATA=subpiechart1.txt|ChartDrillDown.aspx?DATA=subpiechart1.txt Sales by continent|Click to see OTHER sales by continent SERIE_TIPS_1=Click to see PRODUCT sales by continent|Click to see SERVICES String outputMap=chartLoader.getHTMLImageMap("CHARTMAP") Graphics g = Graphics.FromImage(inMemoryImage) If (("DATA")!=null) paramFile=("DATA") ĬhartLoader.loadFromFile(paramFile,true) īitmap inMemoryImage = new Bitmap( chart.getSize().Width,chart.getSize().Height) Place cursor on the bars to see tooltips.
SPACECONTROL GIF CODE
If you want to activate Tips of Links you must use the ChartWebControl and (current window) and "" (if you use frames). Valid values are: "_new" (new browser's window), "_top"
SPACECONTROL GIF SERIES
In order to activate this feature you must set the parameter:įor example, if your data series 1 has 3 values, you can set the parameterįurthermore you can specify the frame where the HTML page will be displayed: RChart will open an HTML when the user clicks on bar (barchart), point (linechart) Note: See next section if you want to use tips with the ChartWebControl. In the screenshot you see that the cursor was at position 15. If you also want to display the current position (Y axis value) of the cursorĬhartLoader loader=m圜hartControl.getChartLoader()
Set it to "true" in order to activate tips. If you want to display tips when the mouse is placed over a bar, point or item Tips are available in the ChartControl and in the ChartWebControl (as a HTML If you want to disable the zoom buttons you must use the following parameter: Chartcontrol.getChart().virtualHeight=500 Ĭhartcontrol.getChart().virtualWidth=500 Īfter you press the zoom out (-) button the result is: