Login Page - Create Account

Support Board


Date/Time: Thu, 30 Jul 2026 23:40:19 +0000



Post From: [Regression] Labels no longer show in v2919

[2026-06-16 05:46:55]
User719512 - Posts: 448
The post #5 in Subgraph value label no longer renders after recent update to 2919 and what I showed in post #5 in this thread gave me clues on a solution (or workaround) for this issue.

==> Always set a Vertical Alignment if one is not already set.

I added this on "sc.UpdateStartIndex == 0", full recalculation, and it fixed the issue for all custom studies which exhibited the issue.
This is not a hot code path for reloading/recalculating a chart and this solution works for me.



for (int i = 0; i < SC_SUBGRAPHS_AVAILABLE; i++)
{
SCSubgraphRef Subgraph = sc.Subgraph[i];

// Fix for v2919+ label alignment regression:
// Ensure vertical alignment for Name and Value if ABOVE/BELOW not already set
if ((Subgraph.LineLabel & (LL_NAME_ALIGN_ABOVE | LL_NAME_ALIGN_BELOW | LL_NAME_ALIGN_CENTER)) == 0)
{
Subgraph.LineLabel |= LL_NAME_ALIGN_CENTER;
}

if ((Subgraph.LineLabel & (LL_VALUE_ALIGN_ABOVE | LL_VALUE_ALIGN_BELOW | LL_VALUE_ALIGN_CENTER)) == 0)
{
Subgraph.LineLabel |= LL_VALUE_ALIGN_CENTER;
}
}