Hi CAC, So you should do something like this: if (Series1.YValue[ValueIndex] = 100) then result := psCircle //for value 100 will be psCircle else if (Series1.YValue[ValueIndex] = 5) then result := psStar //for value 5 will be psStar else result := psRectangle; //default will be psRectangle
Hi Heiko, Here's an example of how you can show Y values from both left and right axis using OnMouse event instead of Cursor Tool. procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); begin Chart1.Title.Caption := 'LeftAxis Y: ' + floattostr(Chart1.Axes.Left.CalcPosP...
Hi moelski, I've sent you a project to show you how to solve your request. You have to calculate your custom (and left) axes positions using basically those functions: Chart1.CustomAxes.Items[0].PositionUnits := muPixels; // to count position in pixels Chart1.CustomAxes.Items[0].PositionPercent := 0...
Hi moelski, you should try setting different values for the following properties: Chart1.CustomAxes.Items[0].PositionUnits:=muPercent; Chart1.CustomAxes.Items[0].PositionPercent:=-10; Chart1.MarginLeft:=10; Also by design-time you can adjust them to your wishes. And for further information you can t...
Hi ACC, There's no method to show/hide series individually from a TeeListBox yet but you can assign a group to the TeeListBox. So you can create your custom group and the TeeListBox will only show the series you wish. At the following example I use ComboBoxes to select the series to show. But note t...
Hi Martin, I think you should do something like following: procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); var ValueIndex: integer; high, low, open, close: double; begin ValueIndex := Series1.Clicked(X,Y); if ValueIndex >= 0 then begin high := Series1.HighValues...
Hi mosim, We tested it and couldn't reproduce your problem here using latest version (7.0.1.3). What version are you using? If you still have problems with it, could you please send us a simple example project we can run "as-is"? You can post your files at news://www.steema.net/steema.public.attachm...
Hi guzial, so when can we expect for no bugs in export to pdf and cursorTool ?? We're working on a solution for the pdf issue. But we cannot give you a date for a fix yet. Regarding the cursor tool issue you mentioned at the thread above, we aren't able to reproduce your problem. That's why we asked...
Hi Trev, We couldn't reproduce your problem here using teechart 7.07. What version are you using? The following code works for us: Chart1.Axes.Left.AutomaticMaximum := false; Chart1.Axes.Left.Maximum := 0.4; Also you can try to type casting as follows: Chart1.Axes.Left.AutomaticMaximum := false; Cha...
Then, could you please send us a simple example project we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page