keysi Posted February 2, 2022 Share Posted February 2, 2022 I'm playing with the data visualisation polygon straight in the player profile and I would like to have the values visible straight as if I maximise the widget. The numbers are here if I use <string id="use_mini_visualisation" value="false" /> but that also means it uses the name of data in full lenght (Expected Goals Conceded/90 Minutes etc.) and it causes resizing of the polygon. If I use <string id="use_mini_visualisation" value="true" />, the polygon remains in full size (exactly as I want) but it's vithout values. Is there some way how to insert values there? While using the mini visualisation. The code I'm using: Spoiler <panel> <string id="use_mini_visualisation" value="true" /> <container> <attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" horizontal_offset="8" horizontal_gap="8" vertical_inset="8" /> <layout class="stick_to_sides_attachment" alignment="all" inset="0" /> <!--visualisation--> <container class="main_box"> <attachment_group class="vertical_arrange" vertical_alignment="bottom,extend" vertical_offset="0" vertical_gap="4" horizontal_inset="0" /> <container> <attachment_group class="vertical_arrange" vertical_alignment="top,extend" vertical_offset="0" horizontal_inset="0" /> <!--Title and subtitle box--> <container auto_size="vertical"> <attachment_group class="vertical_arrange_autosize" vertical_alignment="top" vertical_offset="0" horizontal_inset="0" /> <widget class="text" size="large" font="title" id="visH" auto_size="vertical" /> <widget class="text" colour="white" auto_size="vertical" id="visS" /> </container> <container> <attachment_group class="vertical_arrange" vertical_alignment="fill" vertical_offset="0" horizontal_inset="0" /> <!--container for the visualisation--> <container class="vertical_arrange_container" alignment="fill" inset="0" id="visC" /> </container> </container> <!--container for checkboxes for visualisations to be pinned to the data hub or sent to inboxes--> <container height="30"> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" /> <container id="chkC" hidden="true"> <layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" /> <layout class="arrange_horizontal_attachment" alignment="middle" gap="20" /> <container> <attachment_group class="horizontal_arrange_autosize" horizontal_alignment="left" horizontal_offset="0" horizontal_gap="4" vertical_inset="0" /> <!--pin to data hub checkbox --> <widget class="check_box" id="pinC" click_event="rqPI" auto_size="horizontal" /> <widget class="text" id="chkT" alignment="left,centre_y" auto_size="horizontal" /> </container> <!--maximise icon --> <container height="30" width="30" > <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" /> <layout class="stick_to_sides_attachment" alignment="right,centre_y" inset="50" /> <widget class="icon_button" icon_alignment="centre_x,centre_y" id="expB" click_event="clkk" icon="icons/16px/maximise" appearance="buttons/standard/normal/button" default_focus="false"/> <widget class="icon_button" icon_alignment="centre_x,centre_y" hidden="true" id="remB" click_event="remV" icon="icons/16px/remove from list" appearance="buttons/custom/over state only/button" /> </container> </container> </container> </container> </container> </panel> Link to post 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