Project

General

Profile

Defect #90

Grid offset x/y not used

Added by Patrick Talbot almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Category:
charting
Target version:
-
Start date:
07/16/2010
Due date:
% Done:

90%

Estimated time:
Browser (if web client):

Description

The charts4J API is not up to date to the latest Google Charts API parameters, which allows x/y offsets for grid, which would help for scaling as well.
Will need to patch the lib (find reliable sources, because the current trunk does not compile) and patch the API (most of the classes are final so not extendable!)

History

#1

Updated by Patrick Talbot almost 14 years ago

  • Subject changed from Gtid offset x/y not used to Grid offset x/y not used
#2

Updated by Patrick Talbot almost 14 years ago

  • Category set to charting
  • Status changed from New to Closed
  • % Done changed from 0 to 90

Revision r341 and r342

Added xOffset and yOffset parameters to gridLines see Charting for reference
Works fine in GoogleCharts for Bar/Scatter/Line/XYLine, and for Scatter/Line/XYLine for Eastwood.

With Bar charts in Eastwood, only yOffset will be used, because xOffset cannot be calculated.
In Eastwood, bar categories x and width are calculated on the fly, so the xOffset will be ignored.

#3

Updated by Patrick Talbot almost 14 years ago

Additional info for Bar charts x grid lines in Eastwood:
if grid x[AxisStepSize] == 0 the x grid lines won't appear, but for any value of x[AxisStepSize] > 0, the lines will always be centered on the bars.

Also available in: Atom PDF