Todd Van Valkenburg Posted February 22, 2021 Share Posted February 22, 2021 I have a line graph that I want to display in a portal. When I run the line graph via Info Assist (or run it via a Portal), it always displays a vertical scroll bar. Even when I give it more space in the portal page. So in order to see the x-axis labels, I have to scroll down. There must be a setting that I am missing that paints the graph properly so that it does not require a scroll bar. Any thoughts Based on some forum searches, I tried adding: ON GRAPH SET HTMLENCODE ON And I also tried to remove this line: ON GRAPH SET GRWIDTH 1 As always, thank you! Todd Link to comment Share on other sites More sharing options...
David Beagan Posted February 23, 2021 Share Posted February 23, 2021 Perhaps you need: SET EMBEDHEADING = ON Link to comment Share on other sites More sharing options...
Todd Van Valkenburg Posted February 23, 2021 Author Share Posted February 23, 2021 Thank you David! That did it. I have to add that one to my cheat sheet since that setting is not obvious to me and by default InfoAssist sets the value to OFF. Todd Link to comment Share on other sites More sharing options...
Todd Van Valkenburg Posted February 23, 2021 Author Share Posted February 23, 2021 So with SET EMBEDHEADING = ON, my heading of two words (Sponsored Awards) wraps to two lines. But with SET EMBEDHEADING = OFF, my heading stays on one line. I will start guessing again at settings but any advice greatly appreciated. Todd Link to comment Share on other sites More sharing options...
Todd Van Valkenburg Posted February 23, 2021 Author Share Posted February 23, 2021 I found JSON properties that correctly displays my heading. So all set now. , title: { text: Chart Title, visible: true, align: left, // One of left, center, right, chartFrame font: normal 18pt Arial, color: black, } Link to comment Share on other sites More sharing options...
David Beagan Posted February 23, 2021 Share Posted February 23, 2021 Would be good to know why this is happening, however, for HTML output you could use a non-breaking space: "Sponsored&|nbsp;Awards" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now