Typo in code: ;; in updateChart function (in point 5 and 6)
Not working functionality:
When the queue size exceeds 10 items, the oldest item is excluded.
add itemsQueue.add(initialValue); after ordersDc.getMutableItems().add(initialValue);
and replace ordersDc.getMutableItems().add(item); on ordersDc.getMutableItems().remove(item);
Environment
Description of the bug or enhancement
§2.6.5
Actualize steps in point 4 according to the new version of the platform Designer tab -> Component Palette (?) Non-visual components -> Fasets
The onTimer field is deprecated, needs to subscribe to TimerActionEvent in the screen controller instead (see https://doc.cuba-platform.com/manual-7.2/gui_Timer.html) So the example needs to be updated
Typo in code:
;;
inupdateChart
function (in point 5 and 6)Not working functionality:
add
itemsQueue.add(initialValue);
afterordersDc.getMutableItems().add(initialValue);
and replaceordersDc.getMutableItems().add(item);
onordersDc.getMutableItems().remove(item);