TabView: Chart is visible in other tab

I was trying to create chart in more tabs.

I was expecting show different chart in different tab.

Instead I’ve got chart show in it’s tab and previous too.

The problem was in the LineChartPlugin. Solution is in the LineChart branch in the plugin-chart repository

Is there maybe some best practice for writing the plugins? Maybe we should include it in the plugin manual.
Btw when referencing the plugin you could also include a link to the actual code.

The way the TabControl is implemented in the client requies that the plugin top tag has:
flex-grow: 1;

I tested and It is works . But chart overflow window.
I returned some css styles and chart stay inside and doesnt overflow window.

.chartContainer {
  flex-grow: 1;
  position: relative;
  margin: auto;
  height: 95%;
  width: 100%;
  background-color: white;

so you know how to fix it…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.