Forum > TAChart

TAChart - bar width

(1/2) > >>

faber:
Hi,
I have problem with setting constant width of bar.
As example, that datapoint:

--- Code: ---1|1|?|1
2|2|?|2
3|1|?|3
4|2|?|4
7|1|?|7
9|1|?|9
10|1|?|10
11|1|?|11
--- End code ---
I put to lcsMarks in "Axis DEMO".
With that data I will get one bar with different width (attached screenshot).
How to get same width on all bars ? that free space over bar 7 is ok. BarWidthPercent probably counts the free space between bars, how to avoid this ?

faber:
Situation is even worse when we have real numbers.
It would be great if we have the possibility of setting a fixed width bar that would be the minimum width of bars possible to draw in that case.
This is the request for consideration by the ASK  :)

Ask:
I see. Unfortunately, I am very busy right now --
will be able do something about it in a day or two.

Meanwhile if you actually have integer X values, but with some missing,
you can work around the problem by adding the corresponding points with zero Y value.

faber:
Thanks.
I must also take into account the real numbers.
For now I patched taseries for themselves but unfortunately my modification is based on a double drawing series. I'll wait for your better patch.  :)

Ask:
Please try r28717, see new BarWidhStyle property

Navigation

[0] Message Index

[#] Next page

Go to full version