Is it possible to have secondary y axis with different scale?

Environment : macOS Ventura Xcode beta 14.1:

I have the following chart I was using to learn about SwifUI Charts:

I wanted to have different scales on the leading and trailing yaxis as well as have the first 3 bars to use leading scale and the last two bars use the trailing scale.

Can this be done? If so, how?

Thanks

  • I also want something similar: bar marks to show absolute numbers of A data on leading side and line marks to show a percentage of B on trailing side

Add a Comment