Project

General

Profile

Actions

Bug #4269

closed
BT RS

WCartesianChart axes not displayed with setZoomEnabled in layout

Bug #4269: WCartesianChart axes not displayed with setZoomEnabled in layout

Added by Bruce Toll about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
Start date:
06/27/2015
Due date:
% Done:

0%

Estimated time:

Description

The recent enhancements to WCartesianChart are amazing. It really speaks to the power of Wt's design that a library user can enhance an existing program with all of this new client side zoom/pan/crosshair functionality with little more than a rebuild.

I'm not sure if this is a bug or a misunderstanding on my part, but it seems that the axes are not displayed for a WCartesianChart with setZoomEnabled when the chart is within a layout. I've attached a modified version of ChartsExample.C that demonstrates the problem using the "Scatter Plot (sine function)" example. The axes are drawn correctly if the new zoom-related functionality is disabled. Conversely, the zoom functionality seems to work fine when enabled --- just without visible axes.


Files

ChartsExample.C (12.3 KB) ChartsExample.C Bruce Toll, 06/27/2015 12:57 PM

KD Updated by Koen Deforche about 11 years ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert

Hey Bruce,

Thanks for the nice words! I'll let Roel (the developer of this new functionality) take both the credit and the bug report :-)

Koen

RS Updated by Roel Standaert about 11 years ago Actions #2

  • Status changed from InProgress to Resolved

KD Updated by Koen Deforche almost 11 years ago Actions #3

  • Status changed from Resolved to Closed

KD Updated by Koen Deforche almost 11 years ago Actions #4

  • Target version set to 3.3.5
Actions

Also available in: PDF Atom