Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Line Breaking in Line Chart

  1. #1

    Default Line Breaking in Line Chart

    Hi All,

    I am new to pentaho dashboard.
    I am creating line chart but the lines in this chart is breaking.
    I mean i am not getting consistent lines.
    Chart created using pentaho:
    Name:  getting.PNG
Views: 83
Size:  8.5 KB

    I don't know what might be the reason of it.
    does anyone know how can i get consistent lines?
    Chart Required:
    Name:  required.PNG
Views: 82
Size:  10.0 KB
    Thank you
    Preeti Agrawal

  2. #2
    Join Date
    Nov 2011
    Posts
    1,229

    Default

    Your line chart is breaking because your data points are not contiguous regarding the x-axis scale.

    Maybe switching on the interpolation function will help because that'll give you a continuous line. Search for it in the forum, it should be simple to find examples.
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  3. #3

    Default

    Thank you for reply @pamval

    According to your suggestion. I searched for interpolation function and i did find '
    nullInterpolationMode' and i set it as linear. And now i am getting this chart
    Name:  1.PNG
Views: 79
Size:  8.5 KB

    Now it is not exactly what i wanted, but its better than before.
    is there any way we can convert these dotted line into solid lines.
    Thank you
    Preeti Agrawal

  4. #4

    Default

    Thank you for reply @pamval
    Its done. Using extension point -
    line_strokeDasharray: "none"
    and now i got what i wanted.

  5. #5
    Join Date
    Apr 2017
    Posts
    12

    Default

    Hi Preeti,
    If i want to make this line_strokeDasharray: "-" specific only for specific series.. like only for Plot2 Series. how can i acheive it?

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.