Kiran Kethineni Posted November 27, 2023 Posted November 27, 2023 Hi, I am trying to add Median line to my bar chart and wondering if there is an in built feature to add it.ThanksKiran
David Beagan Posted November 28, 2023 Posted November 28, 2023 There does not seem to be a built-in feature to add a median line to a chart. A chart can have a reference line based on a value. You would need some WebFOCUS code to calculate the median value and store it in an amper variable. Then you could use the amper varaiable to specify the reference line's value on the chart.
Solution Patrick Huebgen Posted November 28, 2023 Solution Posted November 28, 2023 @Kiran Kethineni Not built in feature but easy - just create a new computed field in Designer, Info Assist or Code like this and add it to the chart as linePARTITION_AGGR( YOUR_MEASURE_HERE , TABLE , B , E , MEDIAN) More details herehttps://docs.tibco.com/pub/wf-wf/9.2.2/doc/pdf/IBI_wf-wf_9.2.2_functions.pdf?id=14 2
David Beagan Posted November 28, 2023 Posted November 28, 2023 Yes, that's a better approach than what I was suggesting.
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