@@ -383,7 +383,7 @@ bool Planner::needColor() const
383383}
384384
385385size_t Planner::dimensionCount (const Gen::Plot *plot,
386- Gen::ChannelId type)
386+ Gen::AxisId type)
387387{
388388 return plot->getOptions ()
389389 ->getChannels ()
@@ -401,15 +401,15 @@ bool Planner::verticalBeforeHorizontal() const
401401 || !srcOpt->getChannels ().anyAxisSet ()
402402 || !trgOpt->getChannels ().anyAxisSet ()) {
403403 if (srcOpt->getChannels ().anyAxisSet ())
404- return srcOpt->subAxisType () == Gen::ChannelId ::y;
404+ return srcOpt->subAxisType () == Gen::AxisId ::y;
405405 if (trgOpt->getChannels ().anyAxisSet ())
406- return trgOpt->mainAxisType () == Gen::ChannelId ::y;
406+ return trgOpt->mainAxisType () == Gen::AxisId ::y;
407407 }
408408
409- auto srcXcnt = dimensionCount (source, Gen::ChannelId ::x);
410- auto srcYcnt = dimensionCount (source, Gen::ChannelId ::y);
411- auto trgXcnt = dimensionCount (target, Gen::ChannelId ::x);
412- auto trgYcnt = dimensionCount (target, Gen::ChannelId ::y);
409+ auto srcXcnt = dimensionCount (source, Gen::AxisId ::x);
410+ auto srcYcnt = dimensionCount (source, Gen::AxisId ::y);
411+ auto trgXcnt = dimensionCount (target, Gen::AxisId ::x);
412+ auto trgYcnt = dimensionCount (target, Gen::AxisId ::y);
413413
414414 if ((trgYcnt != srcYcnt) || (trgXcnt != srcXcnt)) {
415415 return (trgYcnt > srcYcnt) || (trgXcnt < srcXcnt);
0 commit comments