Discussion on going

"Filter" display set labels Linechart via elementtextidentifier

  • 6 April 2020
  • 3 replies
  • 87 views

Userlevel 2

Hi,

 

I have a line chart in where we show stock levels per day. For example for a period of 3 months ( 90 days, in a widget with column width 7. However, in the WebUI, the labels on the x-axis are empty:

 

Toggle full-screen gives the following result:

 

So I was thinking, let’s use a elementtextidentifier to only show a few of the items to make it less crowded.

I created a string parameter for the set on the x-axis and only filled the first day of the week. However, all the empty values where filled with the original values. Therefore I added empty strings (“ “) to the rest of the days in a week. Which works in the “full screen mode” but not on the original page:

Full screen:
 

On the original page I would like to show the same layout as in the last full-screen screen, is this possible?

Pratap Kumble 6 months ago

Hi @OlmoVerhagen,

Can you try adding the CSS mentioned below and let me know if this solves your problem. 

.theme-aimms .widgetdiv .aimms-widget[data-widget\.uri="TestLine"] .header .rows .row {
display: block !important;
}

I have also added the data-widget-uri attribute so that you can target only that specific line chart. This will ensure that the other line charts are not affected. Just replace “TestLine” with your widget name.

Thanks.

View original

3 replies

Userlevel 6

Hi @OlmoVerhagen , clever idea on the labels. I have forwarded it to the Development team to have a look at it and see if there is anything we can do on our side as well.

 

 

Userlevel 4

Hi @OlmoVerhagen,

Can you try adding the CSS mentioned below and let me know if this solves your problem. 

.theme-aimms .widgetdiv .aimms-widget[data-widget\.uri="TestLine"] .header .rows .row {
display: block !important;
}

I have also added the data-widget-uri attribute so that you can target only that specific line chart. This will ensure that the other line charts are not affected. Just replace “TestLine” with your widget name.

Thanks.

Userlevel 2

Hi, 

Great, this works :)

 

Thanks!

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator