Closed fbpyr closed 1 year ago
Heh, this clearly starts to be stuff that's not fully supported yet, oops. You probably see a bunch of "WARNING: losing information" kind of messages as well, right?
right 🙂 ,
I see 2 to 3 of:
WARN: losing information in
encodeType
WARN: losing information in encodeGeomSpecifics
!`
per each plot.
I pushed a fix in #157 . Still, if you keep trying new things, you will likely find more things broken, haha.
It's possible that I'll need to do a complete rewrite of the backend though, as I'm not sure if the current approach can scale to support all of ggplotnim's features while at the same time taking advantage of vega-lite specific things.
Wow - thank you so much! 🙂
I will try it out.
Awesome!! 👍
In a couple of my simple bar graphs I seemed to loose the color information, so I checked, if I could reproduce it with an example:
I run the example
rMpgStackedBarPlot
, which works well in default configuration.If I switch it to vega html output like this:
I seem to lose the distinct bar colors and get a strange y-axis title.
When inspecting in the vega editor, it seems the color is still supposed to be driven by
drv
with a reasonable looking color scale :but the dataframe column name seems to be only intact for the first column
class
, which is used for the x-axis, but not for other columns likedrv
(?):This might be the reason, why it says
undefined
in the color chip of the legend. 🤔