spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
69 stars 17 forks source link

Pivot table plotting improvements #1126

Open spine-o-bot opened 3 years ago

spine-o-bot commented 3 years ago

In GitLab by @soininen on Jan 12, 2021, 13:04

Some possible improvements for plotting in Database editor's pivot table from #1124 (Juha brought more on 22.9.2021)

spine-o-bot commented 3 years ago

In GitLab by @jkiviluo on Jan 12, 2021, 22:29

Yes, the initial choice for X is indeed the index column. However, when you change the number of dimensions on the columns, the X columns stays on the original column. If you remove one dimension from columns, then you get a value column instead of index column.

spine-o-bot commented 3 years ago

In GitLab by @jkiviluo on Jan 12, 2021, 22:40

Maybe that 'Plot as Y' is too much right now. There are also other alternatives to manage this (maybe also y-axis, i.e. row, indexes should be able to get a tag like Plot as X) and we need to give it a careful evaluation. Just noting as a clarification that this kind of capability would get into the territory of e.g. bar plots.

spine-o-bot commented 3 years ago

In GitLab by @jkiviluo on Jan 12, 2021, 22:41

One could have two (or more) columns as 'plot as X' - that would create category plus subcategory. You can do it in Excel too and it can be quite useful.

spine-o-bot commented 3 years ago

In GitLab by @soininen on Jan 13, 2021, 07:37

changed the description