Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Hide Chart Outline

  1. #1
    Join Date
    Nov 2011
    Posts
    18

    Default Hide Chart Outline

    I have a line chart that is charting a percent of something. Since the percent can never be more than 100 I have my orthoAxisFixedMax set to 100. However, when one of my series has values that are 100% it can be almost impossible to decipher the difference between the chart outline and the data line. In the below example the dark blue series is 100 for values 4,5, and 6, but it is very difficult to distinguish this dark blue from the black chart outline.

    Name:  DataLineObscuredChart.jpg
Views: 57
Size:  8.6 KB

    Is it possible to do any one of the following to get around this situation?

    a) Not print the top and right chart lines leaving only the x and y lines. That way the top of the chart is simply white space and I do not have the chart outline to contend with?
    b) Change the color of the chart outline to a light gray?
    c) Make the data line thicker so it is a different thickness than the chart outline?

  2. #2
    Join Date
    Oct 2009
    Posts
    156

    Default

    Set the plotFrame to false... i dont remember the exact name of the property but its there where you can disable the border...

  3. #3
    Join Date
    Feb 2007
    Posts
    6

    Default

    Another solution, if you don't want hide the chart outline, could be setting orthoAxisOffset (e.g. 0.05 makes the axis 5% longer)

  4. #4
    Join Date
    Mar 2012
    Posts
    645

    Default

    a) option - plotFrameVisible: false
    b) extension point - plotFrame_strokeStyle: '#dddddd'
    c) extension point - line_lineWidth: 3

    The axis offset is also a good option as @Klaudiusz pointed out.

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.