Hiding some labels on x-axis (LineCharts) ?

UI Components for JSF
Post Reply
mohamida
Posts: 1
Joined: 28 May 2010, 10:59

28 May 2010, 12:12

Hi everybody,

I'm actually developping a J2EE application (jsf 1.2, richfaces 3.3.1,...).
Using also PrimeFaces, i want to use the lineChart to display some information.

On the x-axis, i got time values (10:00,10:01,10:02........14:30, 14:31...)
What i want to do, is to hide some labels, and other not (because i have labels every 1 minute)

So i want to display for example on my x-axis only few labels, every n minutes ( 10:00, 10:n , 10:2n , 10:3n...)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

30 May 2010, 14:20

As PrimeFaces charts are built-on top of YUI charts, you might need to dig YUI charts documentation for this;

http://developer.yahoo.com/yui/charts/

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests