vizabi / core

Data fetching and transformation module with API based on Grammar of Graphics
1 stars 1 forks source link

Model referencing didn't work in migration bubble map #18

Closed angiehjort closed 3 years ago

angiehjort commented 4 years ago

doesn't work (returns size = 0 everywhere):

        "order": {
          modelType: "order",
          data: {
            ref: "markers.marker_destination.encoding.size.data",
            direction: "desc"
          }
        },

does work:

        "order": {
          modelType: "order",
          data: {
            concept: "migration_stock",
            direction: "desc"
          }
        },
jheeffer commented 3 years ago

These type of references work now.

Moved direction to encoding level config, not data.