Fixed the version specification of pyramid_layout.

The package on PyPI can't use panels without layout.
Moved the logic getting line chart to a panel.