Jump to content

Hi, all! I am not able to change the gauge to a text KPI, in...


Braden Gilmore

Recommended Posts

Hi, all!

I am not able to change the gauge to a text KPI, in neither the code nor the text editor. I am not sure if this is a known issue, or if there is something that I am doing wrong. The other gauge types are working correctly. The GUI will change the layout value to simpleText, but the chart will still show as a default layout.

Thank you in advance for your help!

CAR file code (Based on the example in the Creating HTML5 Charts with WebFocus, with fields changed):

GRAPH FILE CAR

SUM SEATS

ON GRAPH PCHOLD FORMAT JSCHART

ON GRAPH SET LOOKGRAPH GAUGE

ON GRAPH SET STYLE *

type=data, column=seats, bucket=measure,$

*GRAPH_JS

gaugeProperties: {

layout: simpleText,

groupLabel: {position: top, color:green,

font: 24pt Sans-Serif},

totalLabel: {font: bold 36pt Sans-Serif, color: blue}

}

*END

ENDSTYLE

END

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...