Project

General

Profile

Actions

Bug #4080

closed

WCartesianChart vertical y-axis titles can overwrite axis tick labels and may not be centered

Added by Bruce Toll over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
Start date:
05/08/2015
Due date:
% Done:

0%

Estimated time:

Description

Y-axis tick labels over a certain width get overwritten by vertical y-axis titles using the github version of wt 3.3.3-53-gecb10d6 (3.3.4+). In addition, y-axis titles are not always centered correctly and this can be especially noticeable with longer titles.

An attached test program demonstrates the issues.

A patch which seems to help with these issues is also attached. It addresses the centering issue with a localized approach, but there are probably better solutions.


Files

Actions #1

Updated by Bruce Toll over 9 years ago

Please note that the attached patch has only had limited testing on a small subset of chart functionality. There are many axis, scale and font options that could impact this code. The patch is intended as an example of the desired behavior rather than a complete solution.

Actions #2

Updated by Koen Deforche over 9 years ago

  • Status changed from New to InProgress
  • Assignee set to Benoit Daccache
  • Target version set to 3.3.5
Actions #3

Updated by Benoit Daccache over 9 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Bruce Toll over 9 years ago

This works great now. Thanks!

Actions #5

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF