rawgraphs-app icon indicating copy to clipboard operation
rawgraphs-app copied to clipboard

Ability to Rename Columns of Data or Axis Labels

Open zcoop98 opened this issue 3 years ago • 0 comments

In which part(s) of the interface would this feature apply?

  • [x] 1. Load your data
  • [ ] 2. Choose a chart
  • [ ] 3. Mapping
  • [x] 4. Customize
  • [ ] 5. Export

Is your feature request related to a problem? Please describe. It is sometimes desirable or required to use the "stack" option on an imported dataset to make it compatible with a certain graph type. When you stack data on a given column, RawGraphs automatically names the new columns created from stacking, and there's no way to rename them. This is a problem, because these names are sometimes used in certain graphs as labels, and there's no way to edit those either.

This inability to rename columns isn't exclusive to stacked data, as you can't rename unstacked columns either, but it's especially annoying here because of the automatic renaming.

For example, with sample input like this:

Date Score A Score B
1/1/2000 95 73
1/2/2000 87 65
... ... ...

When stacked on the "Date" column, becomes this:

Date column value
1/1/2000 Score A 95
1/1/2000 Score B 73
1/2/2000 Score A 87
1/2/2000 Score B 65
... ... ...

If the "value" column gets used as axis data in a graph, then the text "value" will be imported as the label of the relevant axis, with no way to change it. I ran into this personally with a line graph:

line graph with "value" as Y-axis label

Describe the solution you'd like I want a way to either rename columns of data in the data loader, especially generated columns of stacked data, or, more preferably, I want to be able to edit axis labels in the table customizer menu.

Describe alternatives you've considered The only workaround for the stacked data case is to stack your data outside the editor and name the columns accordingly, since you can't currently export stacked data (via #242).

Additional context I think label editing was an available feature in RawGraphs v1, it remains a really useful feature that would be great in v2.

zcoop98 avatar Apr 09 '21 20:04 zcoop98