@@ -88,7 +88,6 @@ function formatValue(v: any) {
8888export async function crosshairDataless ( ) {
8989 const crosshair = Plot . crosshair ( ) ;
9090 const plot = crosshair . plot ( {
91- style : "overflow: visible;" ,
9291 x : { type : "utc" , domain : [ new Date ( "2010-01-01" ) , new Date ( "2025-01-01" ) ] } ,
9392 y : { domain : [ 0 , 100 ] } ,
9493 marks : [ Plot . frame ( ) , Plot . gridX ( { tickSpacing : 25 } ) , Plot . gridY ( { tickSpacing : 25 } ) ]
@@ -105,7 +104,6 @@ export async function crosshairDatalessFacet() {
105104 const penguins = await d3 . csv < any > ( "data/penguins.csv" , d3 . autoType ) ;
106105 const crosshair = Plot . crosshair ( ) ;
107106 const plot = crosshair . plot ( {
108- style : "overflow: visible;" ,
109107 inset : 10 ,
110108 grid : true ,
111109 marks : [ Plot . frame ( ) , Plot . dot ( penguins , { x : "culmen_length_mm" , y : "culmen_depth_mm" , fx : "species" } ) ]
@@ -125,7 +123,6 @@ export async function crosshairDatalessOrdinal() {
125123 } ) ) ;
126124 const crosshair = Plot . crosshair ( ) ;
127125 const plot = Plot . plot ( {
128- style : "overflow: visible;" ,
129126 marginLeft : 60 ,
130127 label : null ,
131128 y : { type : "point" } ,
@@ -149,7 +146,6 @@ export async function crosshairDatalessLog() {
149146 // TODO: replace with proper symlog ticks once https://github.com/d3/d3-scale/issues/162 is fixed
150147 const ticks = [ - 100000 , - 20000 , - 5000 , - 500 , - 100 , - 20 , - 5 , 0 , 5 , 20 , 100 , 500 , 5000 , 20000 , 100000 ] ;
151148 const plot = crosshair . plot ( {
152- style : "overflow: visible;" ,
153149 x : { type : "symlog" , domain : [ - 100000 , 100000 ] , ticks} ,
154150 y : { type : "log" , domain : [ 0.1 , 10000 ] } ,
155151 grid : true ,
0 commit comments