@@ -34,7 +34,8 @@ export class WaffleY extends BarY {
3434}
3535
3636function waffleRender ( y ) {
37- return function ( index , scales , { href, ...values } , dimensions , context ) {
37+ return function ( index , scales , values , dimensions , context ) {
38+ const { ariaLabel, href, title, ...visualValues } = values ;
3839 const { unit, gap, rx, ry, round} = this ;
3940 const { document} = context ;
4041 const Y1 = values . channels [ `${ y } 1` ] . value ;
@@ -86,7 +87,7 @@ function waffleRender(y) {
8687 . attr ( "id" , ( i ) => `${ patternId } -${ i } ` )
8788 . select ( "rect" )
8889 . call ( applyDirectStyles , this )
89- . call ( applyChannelStyles , this , values )
90+ . call ( applyChannelStyles , this , visualValues )
9091 )
9192 . call ( ( g ) =>
9293 g
@@ -104,7 +105,7 @@ function waffleRender(y) {
104105 )
105106 . attr ( "fill" , ( i ) => `url(#${ patternId } -${ i } )` )
106107 . attr ( "stroke" , this . stroke == null ? null : ( i ) => `url(#${ patternId } -${ i } )` )
107- . call ( applyChannelStyles , this , { href} )
108+ . call ( applyChannelStyles , this , { ariaLabel , href, title } )
108109 )
109110 . node ( ) ;
110111 } ;
0 commit comments