Questions tagged [teechart]

TeeChart is a commercial set of powerful charting components originally written for Delphi. A basic component called TChart is included in every Delphi IDE supporting VCL and FireMonkey frameworks. TeeChart is also available for major languages: .NET Framework, Xamarin (including Android, iOS and Forms) Java (including Swing, SWT and Android), ActiveX, Javascript/HTML5 and PHP.

With TeeChart it is possible to draw, manipulate, print and export various kinds of charts. This includes Bar, Line, Pie, financial charts of different kinds and a lot of more sophisticated graphs in 2D and 3D. Rendering is possible on a Canvas and also with OpenGL.

TeeChart is developed by Steema Software: http://www.steema.com/

817 questions
2
votes
1 answer

Copy XValues from one TChartSeries to another

Does anyone know how to copy the XValues from one TChartSeries to another in Delphi7 (and TeeChart 4.04)? TChartSeries.ReplaceList(CopySeries.XValues, OriginalSeries.XValues) does not work, since it seem to replace the reference, so when…
Truls
  • 307
  • 3
  • 12
2
votes
2 answers

Delphi TeeChart - print preview and save dialog

I'm using the built in TeeChart in Delphi XE for graphs. When I just put a graph on a form, I have all these options to export/save or print preview, but those aren't there at runtime. I want to add a button for a save dialog and a print preview…
KingOfKong
  • 279
  • 7
  • 17
2
votes
0 answers

Delphi Tchart is not showing all the items in the legend while printing

I am using Delphi Tchart to draw a graph based on my series data. Here is my problem I have placed the Tchart component in a panel and on filling the graph, on the panel legend of Tchart shows 30 items. I am increasing the legend font size and …
2
votes
2 answers

Different axes for different series in TeeChart

I am using TChart with a set of TFastLineSeries, created at run time. Is it possible to use for a half of series the left axis as Y-axis, for another half - the right one, with individual min/max for each axis? I don't see properties that can assign…
Paul
  • 25,812
  • 38
  • 124
  • 247
2
votes
0 answers

TChart not visible on Android

I'm using RAD Studio 10.2 and TeeChart components. I've made a simple TChart component with code shown below. Everything works fine when I compile and run my program on Windows, but when I try to run Android version, TChart component is not visible.…
brecho
  • 65
  • 1
  • 1
  • 8
2
votes
0 answers

Access violation adding a value in TChart Delphi component

I'm trying to use TChart component to export a graph to a bitmap file, but i got to a very odd error. Everytime i try adding a value to the chart, i call the AddY function from the TLineSeries component passing the value as a parameter. When i try…
Rodolfo Donã Hosp
  • 1,037
  • 1
  • 11
  • 23
2
votes
1 answer

Reduce the number of drawn TChart points

My TChart has a lot of points added by series.AddXY method. A point is added every second (but there could be also long periods without data). After the chart has been changed (point added), when I go to the tab with the chart, it takes about 5…
Paul
  • 25,812
  • 38
  • 124
  • 247
2
votes
2 answers

Teechart TChart Legend - increase count of items

I have a TDBChart and it shows a legend, about 25 lines or so. How can I increase the item count which are shown in the legend? In other words: I want the legend to have more lines than it has now. OPTIMAL would be, if the line count would be…
2
votes
2 answers

TeeChart VCL - Add Marks

I'm trying to create a aditional mark from TDonutSeries at runtime. I have used this source code below: with Series1.Marks.Children.Add do begin Shape.Font.Size:= 10; Shape.ShapeStyle:= fosRectangle; Shape.Style:=…
2
votes
1 answer

TFDQuery and SQLite: Type mismatch for field, expecting: LargeInt actual: WideString

Using Delphi 10.2, SQLite and Teecharts. My SQLite database has two fields, created with: CREATE TABLE HistoryRuntime ('DayTime' DateTime, Device1 INTEGER DEFAULT (0)); I access the table using a TFDQuery called qryGrpahRuntime with the following…
Rick Hollerich
  • 197
  • 1
  • 7
2
votes
1 answer

Render TeeChart for PHP in another page

I am a newbie on TeeChart for PHP. All examples I have found are rendering the chart on the same php file where it has been created. I would like to build the chart using a PHP script, which receives some parameters via AJAX, and render the chart…
2
votes
1 answer

tchart in delphi remove text over each bar

I am using a tchart in Delphi. It is a bar chart, and to add to each series, it requires 3 parameters like this: chart1.series[0].add(123,'annoying',clred); The middle parameter, in this example the word "annoying" results in that string being…
SteveL
  • 51
  • 7
2
votes
1 answer

TeeChart: Fast way to show series values at current mouse position

I want to show the values of all series at the current mouse position if the cursor is on the chart. Exactly as it is displayed in this figure: To accomplish this behavior I used an TAnnotationTool and the OnMouseMove event. Additionally I use a…
FlorianSchunke
  • 571
  • 5
  • 15
2
votes
1 answer

change in sequence of the points using AddXY in Delphi

Using a TChart line graph I want to allow users to optionally rotate the plots. This is to say it will draw (Y,-X) instead of (X,Y), but when the plots are drawn, the sequence of point changes and points connect to each other based on increasing…
hamid
  • 51
  • 6
2
votes
1 answer

TeeChart for PHP : Differences between image render and JavaScript Export

I try to use the right axis of TeeChart for PHP. I'm aware that we need to link a valid serie to both vertical axis. In fact, I have tried a simple test with the custom axis demo on the Steema site. I cut and pasted the demo and try to export it to…
1 2
3
54 55