Centered Data Bar
Centered Data Bar
I use StiDataBarCondition to create data bar in StiText cell. The data band has a variable height. I would like the data bar to have fixed height (so I can't use GrowToHeight=true because it would grow) and to be centered in the center of the data band. Is there some way how to do it? Thanks.
Re: Centered Data Bar
Hello,
Unfortunately, there is no standard solution for this task.
In this case, you can use the additional code in the events. For example, use two passes, in the FirstPass check the DataBand height for each row, and then in the second pass set the necessary position for the Text component with Condition.
Thank you.
Unfortunately, there is no standard solution for this task.
In this case, you can use the additional code in the events. For example, use two passes, in the FirstPass check the DataBand height for each row, and then in the second pass set the necessary position for the Text component with Condition.
Thank you.