Skip to main content



      Home
Home » Archived » BIRT » Can't customize X axis scale
Can't customize X axis scale [message #982006] Mon, 12 November 2012 16:52 Go to next message
Eclipse UserFriend
We are building an RCP application where we have a view with a chart. Chart is meant to resize when user resizes the view.

Our chart has 1024 data points. Currently we have following problems with chart X axis:

  1. X axis shows 3 as a minimal value and 867 as a max value
  2. It actually shows a tick for every point
  3. Can't cpace out grid lines


This is our chart:
index.php/fa/12316/0/

Is there a way to adjust X axis scale? Is there a way to adjust scaling so only ticks with power-of-two values are shown? E.g. so it shows (0, 128, 256, ...) when chart is smaller but switches to (0, 32, 64, ...) when user maximizes the view with a chart?

Is there a way on Y axis to use alternating backgrounds for major grid?
  • Attachment: xaxis.png
    (Size: 9.87KB, Downloaded 642 times)

[Updated on: Mon, 12 November 2012 16:53] by Moderator

Re: Can't customize X axis scale [message #983180 is a reply to message #982006] Tue, 13 November 2012 13:49 Go to previous messageGo to next message
Eclipse UserFriend
Is there a tutorial on how to customize axis rendering?
Re: Can't customize X axis scale [message #983209 is a reply to message #982006] Tue, 13 November 2012 14:21 Go to previous messageGo to next message
Eclipse UserFriend
Is this just for HTML output? Do you already have the resize handled, when the user resizes the screen? If so, how are you doing this?

[Updated on: Tue, 13 November 2012 14:22] by Moderator

Re: Can't customize X axis scale [message #983315 is a reply to message #983209] Tue, 13 November 2012 16:11 Go to previous messageGo to next message
Eclipse UserFriend
I'm using SWT renderer.
Re: Can't customize X axis scale [message #986565 is a reply to message #983315] Tue, 20 November 2012 18:40 Go to previous message
Eclipse UserFriend
In the designer, I created two separate charts and defined specific scales and then ran client side script to show/hide the larger or smaller chart depending on the new window size. I'm not sure how applicable this is to the SWT renderer, though. I've not used the SWT renderer much, so I'll have to investigate this further. I'll let you know if I find something for you.
Previous Topic:how can i change y-axis
Next Topic:Report Repeating First Line of Data
Goto Forum:
  


Current Time: Tue Jul 22 18:38:08 EDT 2025

Powered by FUDForum. Page generated in 0.03484 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top