Skip to main content

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?

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.

 

 


Hi @OlmoVerhagen,

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

.theme-aimms .widgetdiv .aimms-widgettdata-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.


Hi, 

Great, this works :)

 

Thanks!


Updated idea status Discussion ongoingON ROADMAP
Idea merged into:

All the votes from this idea have been transferred.

Hi @OlmoVerhagen 

 

You might want to consider the new Combination Chart Type released with 4.85 version, that smartly arranges the X-Axis ticks. In the widget’s option editor you can also define the X-Axis intervals/StepSize to be considered.

 

Curious to know if you got a chance to try out this X-Axis StepSize and other exciting features of the new Combination Chart type.   

Please leave your feedback and suggestions in this group.

 

Thanks,

WebUI Team.


Updated idea statusOn BacklogImplemented

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

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