[CLOSED] Multiple labels on chart x-axis

  1. #1

    [CLOSED] Multiple labels on chart x-axis

    I'm plotting a chart which involves hourly data over a period of several days. Putting the date and time together as a label creates a cluttered appearance with unnecessary repetition of the date. I want to be able to put the hour against the tick mark with the date displayed on the line below with a single value for each day. Like this:

    01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00
    28/11/2014

    but how to achieve that?
    Last edited by Daniil; Apr 14, 2015 at 11:09 AM. Reason: [CLOSED]
  2. #2
    Hi @Woodhac,

    I would try with an Axis' Renderer:
    <Renderer Handler="if (label === 'Jan') { 
                           label += '\nDay 1'; // You'll need to add a little bit of logic for incrementing the day number.
                       }
                                    
                       return label;" />

Similar Threads

  1. [CLOSED] X-Axis labels overlap on columns in column chart in IE 8
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 08, 2014, 3:56 PM
  2. Replies: 3
    Last Post: Mar 10, 2014, 11:55 AM
  3. Multiple zeros appear in Y axis
    By wolfgang in forum 2.x Help
    Replies: 0
    Last Post: Jul 22, 2013, 9:24 PM
  4. [OPEN] [#252] Axis color in Chart
    By livehealthierGF in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: May 29, 2013, 3:54 AM
  5. Replies: 2
    Last Post: Aug 13, 2012, 2:12 PM

Posting Permissions