解决垂直锚点文本图片中显示在底部的问题
This commit is contained in:
parent
c5bfec25b1
commit
63db31f602
Binary file not shown.
@ -1304,7 +1304,7 @@ public class ChartGraphics {
|
|||||||
y = -h / 2;
|
y = -h / 2;
|
||||||
} else if (vertical.equals("top")) {
|
} else if (vertical.equals("top")) {
|
||||||
y = 0.0;
|
y = 0.0;
|
||||||
} else if (vertical.equals("middle")) {
|
} else if (vertical.equals("middle") || vertical.equals("center")) {
|
||||||
y = (shapeH - h) / 2;
|
y = (shapeH - h) / 2;
|
||||||
} else if (vertical.equals("bottom")) {
|
} else if (vertical.equals("bottom")) {
|
||||||
y = shapeH - h;
|
y = shapeH - h;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user