Stepping as stacked area series to/from zero values

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Test Always #?
Newbie
Newbie
Posts: 20
Joined: Thu Jan 13, 2022 12:00 am

Re: Stepping as stacked area series to/from zero values

Post by Test Always #? » Thu May 18, 2023 2:23 pm

More information: This is income in retirement. The total value of all series increases by about 3% per year, resulting in a smooth line at the top. When income from an account starts or stops, it needs to step up or down, not go at an angle, which would not visually represent the data well.

Does that make sense?

Ed Dressel

Test Always #?
Newbie
Newbie
Posts: 20
Joined: Thu Jan 13, 2022 12:00 am

Re: Stepping as stacked area series to/from zero values

Post by Test Always #? » Tue May 30, 2023 2:42 pm

Put another way: for the data, the values increase ~3% for each additional X value. The chart should have a top line that reflects that, and when an account drops off, it should step down; when it begins, it should step up. Does that make sense?

Test Always #?
Newbie
Newbie
Posts: 20
Joined: Thu Jan 13, 2022 12:00 am

Re: Stepping as stacked area series to/from zero values

Post by Test Always #? » Wed Jun 07, 2023 1:54 pm

Hello?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Stepping as stacked area series to/from zero values

Post by Yeray » Thu Jun 08, 2023 7:37 am

Hello,

Sorry for the lack of reply here.

I'm still trying to understand what's wrong with the attempts in the original project.
For example, what's the problem with the first one?
Project1_2023-06-08_09-35-10.png
Project1_2023-06-08_09-35-10.png (24.77 KiB) Viewed 25427 times
You said this about the UpdateChart1 approach:
Test Always #? wrote:
Mon Mar 20, 2023 8:34 pm
UpdateChart1 shows the chart correctly but doesn't do the stepping.
But I don't see the problem.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Test Always #?
Newbie
Newbie
Posts: 20
Joined: Thu Jan 13, 2022 12:00 am

Re: Stepping as stacked area series to/from zero values

Post by Test Always #? » Wed Jun 14, 2023 2:04 pm

Hello?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Stepping as stacked area series to/from zero values

Post by Yeray » Wed Jun 14, 2023 2:29 pm

Hello,

Did you see my last reply?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Ed Dressel
Newbie
Newbie
Posts: 10
Joined: Wed Aug 16, 2023 12:00 am

Re: Stepping as stacked area series to/from zero values

Post by Ed Dressel » Wed Sep 27, 2023 3:34 pm

Sorry, I missed your reply.

I don't want the angled lines--like the blue line that goes from 1 to 2. It should be a vertical line at 2, and the yellow line as well. It is more of an on/off value, not something that gradually gets there. (This can be done in a bar chart a lot easier, but the area chart communicates better the continuality of time better than a bar, and stepping up/down communicates turning it on/off).

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Stepping as stacked area series to/from zero values

Post by Yeray » Wed Oct 04, 2023 9:39 am

Hello,

Then, you want illustration #1 to look like in "method 2".
Project1_2023-10-04_11-29-39.png
Project1_2023-10-04_11-29-39.png (25.13 KiB) Viewed 23068 times
The last down step in the red area is a problem?
If it's a problem, how would you draw it? The sum of data at point x=22 is 9.163,97+8.906,34+815,17=18.885,48, while the sum of data at the last point (x=23) is 9.438,9+8.906,34=18.345,24. So that looks like a down step in the values, isn't it?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply