Today, we temporarily omit the topic of reports and talk only about dashboards. Our report designer is a powerful tool for designing dashboards, which you can save, convert into a document, or make available via a link, using Stimulsoft Cloud after creation.
It's quite easy to share and publish a dashboard on social networks, for example, Twitter and Facebook, on our website or in an application.This time, we will talk about a more subtle thing for dashboard developers. But before we get to the point, we want to remind you of one important thing. A dashboard, when previewing it, can be stretched over the entire area of the viewer, stretched only in width with the aspect ratio intact or not stretched. The Content Alignment parameter value defines this behavior in dashboard settings. All components will change in sizes proportionally with any stretch option, too. And here lies the main point - you have created a great dashboard that looks perfectly on your large 4K monitor.We shared a link to the published dashboard with our partners, which they will open on a mobile device. The viewer will be stretched across the width and height of the device display, and the dashboard will be displayed in it. It is unlikely to cause delight, especially if more than 5 components are on the dashboard.But don't hurry to redo the dashboard trying to please everyone. A great solution is to add a bit of tuning to an existing template: a mobile version of the dashboard design. In other words, a particular version of the dashboard will be displayed on a mobile device.It's pretty easy to make. Create or open a dashboard in the designer. Go to the Page tab. You will find two buttons of the current dashboard design version control – Desktop or Mobile. You should select the mode for which you want to create a design version. Suppose that the Desktop version is already developed, and we are talking about adding a version for mobile devices accordingly, you should select the Mobile mode.
If your template does not contain the Mobile version, an empty dashboard and menu with dashboard components from the Desktop version will be displayed. The dashboard design version may include all components of the Desktop version or not include some of them.
What you can and can't do in the Mobile dashboard design version is the main thing.
You can add only some dashboard components, change their position and sizes. Enable or disable headers of these components. Define options for enabling the display of the mobile version of the design on your device (more information about that you can find below);
You can't add new components to your dashboard, having not added them to the Desktop version, override data, completely change component design settings such as style, etc.
The Mobile dashboard design version can display the current dashboard on mobile devices but not change it conceptually.
And now a crucial question - when exactly, when displayed in the viewer, will the mobile dashboard mode be enabled, and when will it be the desktop mode?
Everything is easy here – when creating the Mobile design, a dashboard contains the Device Width property. The value of this property is defined in pixels, and it is a boundary property. As soon as the device screen width, where the viewer is deployed, is less than a specified value, the Mobile version will be displayed. In all other cases – the Desktop version. You can define when to display the Mobile version of the dashboard design. To do that, you should change the width limit of the device. By default, the mobile version will be displayed at a width of up to 480 pixels. The mobile dashboard design version can be deleted, if you need it. To do that, you should use the Delete Mobile Surface command. Another important thing, design view – Desktop or Mobile, where the dashboard template was saved will be used during the next opening of this template in the report designer. So, don`t be afraid if suddenly you open a template and the Mobile design version is displayed. You should go to the Page tab, enable the Desktop and save changes if you need to use the Desktop mode by default.Thus, the dashboard template may contain two design versions, each of them will be used under certain conditions (it depends on the value of the Device width property). It allows you to create a universal dashboard, which can be viewed on various devices.A video with a detailed description of dashboard design creation for mobile devices.
Today, we will talk a little about using the reporting tool in various spheres, for example, in HoReCa.First of all, we are going to remind you of the fact you may know that the report generator is an excellent tool to present some information in a readable and structured view. Using it, companies can independently design and save various report templates, and as a result, analyze the development of their business. Report generators are used in multiple human activities: data analytics, financial reporting, medicine, industry, education, insurance, etc. The thing is that more and more companies and organizations need quality data and its processing. This point is extremely important in building a competent business strategy.
HoReCa business is no exception, too. Representatives of this sphere need to store and process a large amount of information - from calculating monthly profits to account for employees.
Using our products, you can calculate and analyze:
average check by days;
the number of visits to a restaurant per month;
types of payments when closing a check;
sales by hours;
the number of staff shifts;
demand for certain products;
the number of menu items;
and much more.
However, we are not talking about data analysis, but about something completely different.
Did you know that you can create menus with your design, using the designer and various report components in addition to analysis and structuring data? Below, you can see an example of a report that represents a Chinese eatery's menu.
Everything is relatively simple here: menu categories, position, and price. You can also do it easily if you want to diversify your menus, such as adding the weight of dishes, their composition, or some additional notes.
Our online storage contains menus for other types of establishments. Among them: Tea houses, Chinese and Italian restaurants. Generally, see for yourself:
On November 25, 2021, a major update of the PHP 8.1 was released. The release contains many improvements and new features, which significantly influenced the work of the projects created using PHP. However, first things first.
Among the updates in PHP 8.1, the following of them are worth taking into account:
Enumerations. A significant improvement of version 8.1, the essence of this is the ability to use enumeration instead of the class with constants, which allows you to validate the enumeration at runtime;
Fibers. Fibers are lightweight code blocks that allow you to create started, suspended, and terminated code blocks. Also, the ability to manage these threads at a low level is added. First of all, the revision concerns the AMPHP and ReactPHP frameworks;
Readonly properties. Now, the properties of a class can be marked as read-only, which means the information they contain can be written once, and they can't be changed after initialization. These properties are especially actual for implementing VO and DTO objects;
New in initializers. It allows you to use the keyword new in initializers. It can be applied as an option by default or a value of static variables or in attribute arguments;
Improved performance. Due to optimization of functions, improving iterators and speeding up class name resolution and opcache improvement – the ability to cache relationships between classes, productivity increased by about 8%.
PHP 8.1 and Stimulsoft products
The PHP update affected, first of all, our Reports.PHP and Dashboards.PHP products and only the server-side of these products. We have tested the work of Stimulsoft report generators under PHP 8.1 and haven't found compatibility issues. You can find the latest version of Stimulsoft products here.
Today, we will tell you about a few minor but important improvements, which have affected the Publish option.
First of all, we are talking about the support of current versions of Angular – 10, 11, 12, and 13 when publishing reports and dashboards.
This improvement was made, firstly, for users, whose projects work under different versions of the Angular framework.
Now it is possible to select the required version, which is the one used in the project, and publish the rendered report or dashboard. As a result, you get a ready project to use. You may publish a report both in the desktop Win and JS report designer version and from the publish.stimulsoft.com website.
The support of the current Angular versions allows you not to spend time on the compatibility of platform versions in your project with the version in which a report or dashboard was published.
The second improvement has affected exporting a report in the Publish wizard.
Earlier, when publishing a report export project, the settings by default were used. It didn't allow you to change all necessary properties. This functionality has been improved in the 2022.1.3 version. A special class of settings is created when selecting an appropriate option.
The Wizard considers the type of report or dashboard, selected type of export, platform and framework. The necessary class of export settings is created based on these parameters. This improvement greatly simplifies the work with exporting reports and eliminates the need to search for the desired export option in the documentation and examples. In addition to the improvements in the Wizard, in version 2022.1.3, we optimized the use of memory when preparing projects, improved localization, and fixed the found errors.
Today, the opening of the 24th Winter Olympic Games takes place in Beijing. Over the next two weeks, hundreds of athletes will compete for medals in 15 sports.
Despite all the restrictions and covid-protocols, the fight will be uncompromising and unseasonably hot. We don't know who will win the overall medal standings, who will be the best sharpshooter in biathlon, or whose puck will win the hockey final. Our business is data, analytics, and visualization.
Especially for the opening of the Games, we have prepared an Olympic dashboard where you can find out:
how many countries have sent their athletes to the Games;
how many events do sports have;
what dates are scheduled for qualifying and final competitions;
and much more.
Stimulsoft products are universal tools for displaying and analyzing any data, whether financial statements or the composition of a Canadian hockey team - it all depends on your tasks.
We wish victories to your favorite athletes, and may the strongest win!