Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 19:43:29 +0000



Post From: [Programming Help] - Horizontal Lines Cumulative Increment Levels

[2023-07-25 13:42:18]
JohnR - User831573 - Posts: 306
There are usually lots of ways to solve things, but here is one. Just use the variable counting the FOR loop -> SubGraphIndex , and then multiply your line of code with it + 1.
Use SubgraphIndex from this line >> for (int SubgraphIndex = 0
add it to this calc
    CurrentLineValue += Input_LineIncrement.GetFloat();
    CurrentLineValue += Input_LineIncrement.GetFloat() * (SubGraphIndex +1);


Just might work. I did not test it.

JohnR