ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Changing the black box when dragging under zoom-in mode
Posted by Ivan Zhang on Aug-17-2011 22:49
I'm using QChartViewer to manage zooming for my chart, but under zoom-in mode, when I
use my mouse to drag and select an area to zoom in, I get a black selection box. Is there a
way using ChartDirector to customize the color of that selection box?

Thank you very much.

  Re: Changing the black box when dragging under zoom-in mode
Posted by Peter Kwan on Aug-18-2011 00:32
Hi Ivan,

You may use QChartViewer.setSelectionBorderColor to control the selection border color. For example:

myViewer.setSelectionBorderColor(myQColor);

Hope this can help.

Regards
Peter Kwan

  Re: Changing the black box when dragging under zoom-in mode
Posted by Ivan Zhang on Aug-18-2011 02:40
Works great! Thank you!