Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: How to set the minor interval on X-Axis in a Line Chart?

  1. #1

    Default How to set the minor interval on X-Axis in a Line Chart?

    Hi,

    I have an Report containing an Line chart.
    On the X-Axis of this Line chart, i display the dates.
    Currently there is no interval between two consecutive days.

    Now i want to insert intervals at every 30-minutes.
    Which means that, i will be having 48 such intervals between two consecutive days.

    According to charting terminology, it is called as the minor interval.
    http://wiki.pentaho.com/display/Repo...ng+Terminology

    So, how do i set this minor interval for a Line Chart?

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Do you use a XY-LineChart or a categorical Line-Chart. If the latter, then you better switch to XY-charts.
    http://www.sherito.org/2011/07/chart...ts-and-xy.html
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3

    Default

    @Taqua: Originally i was using a categorical Line-Chart, but now i am trying with XY-LineChart.
    I am facing difficulty in setting the minor interval for the X-axis.

    Primary DataSource: TimeSeries Collector
    time-period-type: Minute

    X-Axis:
    x-tick-period: Minute
    x-vtick-label: true
    x-tick-interval: 1.0

    I want to show the x-ticks i.e. the labels on the X-axis on an 30-minute interval i.e. 48 ticks between two consecutive days.

    Please suggest a way to achieve this.

    Also, I have come across Time Series Line chart on the Pentaho forums, but Pentaho Report Designer 3.8.3-GA. 14656 doesnot have it.
    In which version of Pentaho is it available?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.