chart: линейчатая с накоплением — подписи категорий, порядок, заголовок #48

Merged
pjandro merged 1 commits from fix/horizontal-bar-labels-order into main 2026-10-25 20:28:08 +03:00
Collaborator
No description provided.
ai added 1 commit 2026-10-25 20:26:29 +03:00
chart: barDir=bar по Word — подписи категорий слева, категория 0 внизу, заголовок резервирует все строки
PR checks / web (pull_request) Successful in 31s
PR checks / java (pull_request) Successful in 1m33s
Main: tests, deploy, autotests / web (push) Successful in 32s
Main: tests, deploy, autotests / images-web (push) Successful in 31s
Main: tests, deploy, autotests / java (push) Successful in 1m28s
Main: tests, deploy, autotests / images-app (push) Successful in 56s
Main: tests, deploy, autotests / deploy (push) Successful in 3m21s
Main: tests, deploy, autotests / autotests (push) Failing after 2m7s
Main: tests, deploy, autotests / rollback (push) Successful in 3m9s
7f0c7f1b73
- CartesianPainter: горизонтальный layout — резерв catLabelGutter слева под
  подписи категорий и topGutter сверху под подписи значений; подписи категорий
  вправо к оси (Paragraph align=null вместо «ctr», перекрывавшего defAlign);
  крайняя подпись значений клиппуется внутрь plot
- catPos: minMax → категория 0 внизу, парсинг c:orientation=maxMin (§21.2.2.130,
  ST_Orientation §21.2.3.30, MS-OI29500 §2.1.1511) → AxisSpec.reversed
- ChartRenderer.drawTitle: резерв = фактическое число строк жадного переноса
  (DrawMlText.lineCount), а не ровно 2 — заголовок 3+ строк больше не лезет
  на область построения
- регрессии: horizontalBar_categoriesBottomUp,
  horizontalBar_reversedOrientation_categoriesTopDown,
  horizontalBar_categoryLabelsVisible, horizontalBar_lastValueLabelNotClipped,
  longTitle_reservesAllWrappedLines, lineCount_wraps,
  catAxOrientationMaxMin_reversedParsed

Покрытие (JaCoCo)

Модуль Строки Ветви Порог строк
wordpdf-core 94.9% 85.8% 90%
wordpdf-app 93.2% 84.2% 90%
<!-- jacoco-coverage --> ## Покрытие (JaCoCo) | Модуль | Строки | Ветви | Порог строк | |---|---|---|---| | wordpdf-core | 94.9% | 85.8% | 90% | | wordpdf-app | 93.2% | 84.2% | 90% |
pjandro merged commit 7f0c7f1b73 into main 2026-10-25 20:28:08 +03:00
pjandro deleted branch fix/horizontal-bar-labels-order 2026-10-25 20:28:08 +03:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pjandro/java-word-pdf#48