Development of charts | 1C: Through the Looking Glass

13.06.2019

This text is an announcement of latest performance.
It’s not beneficial to make use of the content material of this text to grasp the brand new performance.
A full description of the brand new performance will probably be offered within the documentation for the corresponding model.
A whole listing of adjustments within the new model is offered within the v8Update.htm file.

Applied in model 8.3.16.1030

We proceed to develop the diagram engine.

The next options are deliberate for model 8.3.16:

  • Displaying a further scale of values

  • Sequence show settings

  • Modifying Chart Values ​​Interactively

  • Automated batch colour preservation

Displaying a further scale of values

It’s usually very handy to graphically show values ​​in numerous items of change, for instance, to show income and quantity of merchandise offered. When making an attempt to show such information in a single chart, the issue of scale instantly arises, some values ​​will be in hundreds of thousands, others in hundreds. It’s inconceivable to hold out any evaluation on such a diagram.
Now it is possible for you to to show a further scale of values. This scale could have its personal scale, its personal settings, which can permit for the evaluation of such a diagram.
Instance:

The extra scale doesn’t should have its personal scale. A further scale will be exhibited to duplicate the principle one, in order that it’s extra handy for the person to learn the knowledge.

Setting the sequence show

Sequence kind

When displaying totally different indicators on one chart, it is vitally clear to show them in numerous sorts. For instance, within the earlier instance, we displayed the indicator “Quantity of turnover” as a graph, and “Quantity of turnover” as a histogram. Additionally, you will now be capable to customise the show kind for a particular sequence. The next sorts can be found for choice:

  • Histogram

  • Quantity histogram

  • Schedule

  • Space Plot

  • Step chart

An instance of displaying a chart, the place every sequence has its personal show kind:

Sequence summation

Beforehand, the buildup mode was configured when selecting a chart kind. We added the flexibility to configure the buildup kind for every sequence individually and specify which sequence ought to be amassed collectively and which individually.

Examples of utilizing this performance:

  • Grouping by counterparty and comparability with final 12 months

    On this instance, we point out that the “Final 12 months” sequence shouldn’t be summed up, and all others ought to. This lets you examine the overall with final 12 months and see who contributed which share this 12 months.

  • Plan and truth grouped by product
    On this instance, we point out that the “Plan…” sequence are amassed individually from the “Truth…” sequence. This lets you examine each the quantity by items and to see within the context of products.

Modifying values ​​interactively

Generally, throughout evaluation or planning, you need to change the values ​​on the chart and see how the remainder of the symptoms will react to such a change. Now you may implement such a situation for working with a diagram.

We have added the flexibility to interactively edit chart values. To edit, you might want to drag on the sting of the chart bar or on the graph marker. When the worth is modified, an occasion handler will probably be referred to as, in which you’ll be able to implement your individual logic (for instance, verify that the worth is throughout the specified vary, or recalculate the values ​​of the chart). While you end modifying, a handler can even be referred to as, in which you’ll be able to implement heavyweight logic (for instance, a server name).

Modifying will be configured for your entire chart or for particular values.

Demo: the instance exhibits learn how to use a chart to distribute funds by month

Automated batch colour preservation

We now have carried out the flexibility to protect the colour of the sequence and use this colour in one other diagram. Why is that this wanted? Let us take a look at an instance.

As an example we have now two reviews. In a single report, we show the steadiness of mutual settlements, and within the different, the dynamics of gross sales. Will probably be very handy for the person if in each reviews the identical counterparties have the identical colours. Implementing this conduct from the configuration code used to take lots of effort and time, however now the platform will mean you can do that utilizing report settings. The correspondence between sequence and their colours will probably be saved within the system storage of settings, so the colours is not going to change even after the applying is restarted.

The appliance developer could have entry from the built-in language to the thing containing all of the saved sequence colours. You possibly can add your individual series-color pairs (for instance, “Milk” – blue), permit the person to customise colours, synchronize colours between customers or databases, and so forth. Naturally, it will likely be potential to make use of this mechanism for diagrams inserted into the shape. With just a bit code, you may, for instance, synchronize the sequence colours of a number of charts. It will permit the person to understand data sooner.

Rendering engine enhancements

Now some varieties of charts will be drawn within the browser utilizing the canvas know-how. This drastically accelerated the rendering of the diagram within the internet consumer and allowed us to implement animations for altering the diagram. The chart routinely detects what has modified and shows an animation. This transformation will visually present the person the dynamics of indicators and, basically, ought to enhance the person expertise when working with charts.

Some examples with animation:

  • Change the crew within the report
  • Working graph
  • Change the values ​​and order of factors

Tags: UI diagrams 8.3.16

Inform buddies:

Facebook
Twitter
Pinterest
WhatsApp

Related Articles

Latest Articles