Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork21
Closed
Description
The Observable Plot example ofMajor and minor axis ticks is not posisible in Observable Plot, as thetext: null is ignored, resulting in unwanted labels when only ticks are desired.
Observable Plot code:
Plot.plot({x:{nice:true},y:{grid:true},marks:[Plot.line(aapl,{x:"Date",y:"Close"}),Plot.axisX({ticks:"month",text:null,tickSize:3}),Plot.axisX(),Plot.axisY({ticks:50,tickSize:3,text:null}),Plot.axisY()]})
Translation to SveltePlot:
<PlotmarginRight={0} > <Linedata={aapl}x="Date"y="Close" /> <AxisXticks="month"text={null}tickSize={3} /> <AxisX /> <AxisYticks={50}tickSize={3}text={null} /> <AxisY /></Plot>
(A second issue with this example is that the intended number of ticks also aren't displayed, due to#73)
This is one of the issues surfaced by#72

