Kiran Kethineni Posted November 27, 2023 Share 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 Link to comment Share on other sites More sharing options...
David Beagan Posted November 28, 2023 Share 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. Link to comment Share on other sites More sharing options...
Solution Patrick Huebgen Posted November 28, 2023 Solution Share 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 Link to comment Share on other sites More sharing options...
David Beagan Posted November 28, 2023 Share Posted November 28, 2023 Yes, that's a better approach than what I was suggesting. Link to comment Share on other sites More sharing options...
Kiran Kethineni Posted December 4, 2023 Author Share Posted December 4, 2023 Thanks Patrick. Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted December 4, 2023 Share Posted December 4, 2023 @Kiran Kethineni You're welcome 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