Search found 1186 matches
- Thu Sep 14, 2023 10:42 am
- Forum: JavaScript / HTML5
- Topic: Unable find mouse click event on rectangle
- Replies: 9
- Views: 49325
Re: Unable find mouse click event on rectangle
Hello, Using TeeChart's own mouse events, here ES6 coded, you can try: import { Chart, Line, Format, Rectangle } from '../../src/teechart.js' drawChart(); function drawChart(){ const msecsInADay = 86400000; //24*60*60*1000 const now = new Date(); const data = []; for (let t = 0; t < 10; t++) { const...
- Mon Aug 28, 2023 11:45 am
- Forum: .NET
- Topic: How to set the X with category data?
- Replies: 19
- Views: 25832
Re: How to set the X with category data?
Hello, Not sure, I thought I had understood correctly. That the goal is to line up the charts (?). The principle is the same in this case. To modify chart settings to obtain the required result. ie. AlignedCharts.jpg Very unrefined code to achieve these charts is included here: Line line1; Line line...
- Mon Aug 28, 2023 9:53 am
- Forum: .NET
- Topic: Chart Options Help Button
- Replies: 2
- Views: 10722
Re: Chart Options Help Button
Hello Kris, The default option is to include a file called "TeeChartNET4.chm" in the program's executable directory. That's what TeeChart will look for if nothing else has been directed. There are some downloadable chm files here (library reference and tutorials) that can be renamed to TeeChartNET4....
- Thu Aug 24, 2023 10:07 am
- Forum: .NET
- Topic: ColorBand Tool dragging
- Replies: 1
- Views: 10323
Re: ColorBand Tool dragging
Hello Sean, This code will do it: //disable zoom somewhere in your code: tChart1.Zoom.Direction = ZoomDirections.None; ...... // .......... //declare bool mouseDown = false; Point startPoint; double startValue; private void tChart1_MouseDown(object sender, MouseEventArgs e) { //check the mousedown i...
- Wed Aug 23, 2023 2:42 pm
- Forum: .NET
- Topic: How to set the X with category data?
- Replies: 19
- Views: 25832
Re: How to set the X with category data?
Question 2. Similar to the link I sent you in an earlier email you would place the charts one above the other, use the same SetMinMax axis settings and set AxisLabels Visible false for the top chart. Best to fix left and right margins for both charts. What particular problems are you encountering? R...
- Wed Aug 23, 2023 2:38 pm
- Forum: .NET
- Topic: How to set the X with category data?
- Replies: 19
- Views: 25832
Re: How to set the X with category data?
Hello,
Question 1.
I suggest that either you make the labels multiline (can use \n char) or put the labels angle to 90º.
We will look at ways to better plot default labels for contiguous series.
Regards,
Marc Meumann
Question 1.
I suggest that either you make the labels multiline (can use \n char) or put the labels angle to 90º.
We will look at ways to better plot default labels for contiguous series.
Regards,
Marc Meumann
- Tue Aug 22, 2023 7:01 am
- Forum: .NET
- Topic: How to set the X with category data?
- Replies: 19
- Views: 25832
Re: How to set the X with category data?
Hello, Not being sure about the definition of the deepclone or the UIForm dialogue form I used a Chart export and import and standard form. I noticed that the Axis Label Item collection didn't copy properly so I added the copy manually. I put some code in OnAfterDraw and it all seems to work ok: pri...
- Mon Aug 21, 2023 4:34 pm
- Forum: .NET
- Topic: How to adjust table styles adaptively?
- Replies: 1
- Views: 10521
Re: How to adjust table styles adaptively?
Hello, Re. 2) I want the table to have grid lines Open the Chart Editor after adding the tool go to the tool in the toolslist and select: - Rows to edit the horizontal Pen - Columns to edit the vertical Pen (display the grid lines) Re. 3) Data crowding together want to scroll bar The table can only ...
- Mon Aug 21, 2023 4:24 pm
- Forum: .NET
- Topic: How to set the X with category data?
- Replies: 19
- Views: 25832
Re: How to set the X with category data?
Hello, Re. Problem 1. 1) As shown in the image above, "Raw Data" Chart is drawn this way, but what about overlapping X-axis headings ? 2) What should I do if the X-axis title overflows? How are you adding the data labels? What code. Axis labels normally automatically separate when added, some circum...
- Thu Aug 17, 2023 11:00 am
- Forum: VCL
- Topic: How to Draw Lines
- Replies: 1
- Views: 10234
Re: How to Draw Lines
Hello, This example code would plot a line from the Chart's 0,0 location to 5,5: procedure TForm4.Chart1AfterDraw(Sender: TObject); var x0,y0,x1,y1 : Integer; begin if Series1.Count>5 then Begin x0 := Chart1.Axes.Bottom.CalcXPosValue(0); y0 := Chart1.Axes.Left.CalcYPosValue(0); x1 := Chart1.Axes.Bot...
- Mon Aug 14, 2023 11:43 am
- Forum: VCL
- Topic: Displaying charts on TeePreviewPanel
- Replies: 7
- Views: 14089
Re: Displaying charts on TeePreviewPanel
Hello Metek,
I'm checking what repaint method can force the render but haven't found one yet other than CopyToClipboard, which works but, as the name implies, leaves a chart on the clipboard.
ie.
Charts.CopyToClipboardBitmap;
Regards,
Marc Meumann
I'm checking what repaint method can force the render but haven't found one yet other than CopyToClipboard, which works but, as the name implies, leaves a chart on the clipboard.
ie.
Charts.CopyToClipboardBitmap;
Regards,
Marc Meumann
- Fri Aug 11, 2023 11:08 am
- Forum: VCL
- Topic: Installing from source: TVisualBlock undefined
- Replies: 4
- Views: 12748
Re: Installing from source: TVisualBlock undefined
Hello,
We are checking the source-control related to TeeMaker and will make the fix available, Apologies for the inconvenience.
Regards,
Marc Meumann
We are checking the source-control related to TeeMaker and will make the fix available, Apologies for the inconvenience.
Regards,
Marc Meumann
- Thu Aug 03, 2023 8:53 am
- Forum: ActiveX
- Topic: When a data point is expected to appear in the chart ?
- Replies: 3
- Views: 26716
Re: When a data point is expected to appear in the chart ?
I tried this code (TeeChart AX 2023 and VB6: added a Pojnt Series to Chart. No other changes. Private Sub Command1_Click() TChart1.AutoRepaint = False TChart1.Series(0).AddXY 10, 10, "", clTeeColor TChart1.AutoRepaint = True TChart1.Repaint End Sub vbpoint.jpg It painted ok. Maybe worth checking wit...
- Wed Aug 02, 2023 12:01 pm
- Forum: ActiveX
- Topic: When a data point is expected to appear in the chart ?
- Replies: 3
- Views: 26716
Re: When a data point is expected to appear in the chart ?
Hello Angelo,
With one point in the chart you typically see the axes with just one gridline running into the chart. What do you see?
You may not see the point if the Pointer visible isn't true (for a LineSeries). What type of Series are you using?
Regards,
Marc Meumann
With one point in the chart you typically see the axes with just one gridline running into the chart. What do you see?
You may not see the point if the Pointer visible isn't true (for a LineSeries). What type of Series are you using?
Regards,
Marc Meumann
- Wed Aug 02, 2023 11:56 am
- Forum: ActiveX
- Topic: What's wrong with CSeries?
- Replies: 1
- Views: 10684
Re: What's wrong with CSeries?
Hello, We'll need the context of a test project to see what's happening. If I test it in one of the MFC projects included with TeeChart, "Dragging Points", then this syntax works fine: int myColor = RGB(255,255,0); CSeries mySeries = m_ctrlChart.Series(1); mySeries.SetColor(myColor); Regards, Marc M...