You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey great work on the lib, it looks really promising.
I tried to go through the example which i found here.
Which was working fine when using the dataset without any dates, but when I switched over to using the dataset with dates I received the error below which I found hard to trace.
This is the snippet I was using
// data for the graphconstdata=[{id: 'linedata-1',color: '#00a2ce',data: [{sales: 500,timestamp: Date(2017,7,1)},{sales: 700,timestamp: Date(2017,7,2)},{sales: 0,timestamp: Date(2017,7,3)},{sales: 0,timestamp: Date(2017,7,4)},{sales: 200,timestamp: Date(2017,7,5)},{sales: 300,timestamp: Date(2017,7,6)},{sales: 500,timestamp: Date(2017,7,7)}]},]//graph div<XYFramesize={[500,700]}lines={data}xAccessor="timestamp"yAccessor="sales"xScaleType={scaleTime()}lineDataAccessor="data"lineStyle={d=>({stroke: d.color,fill: d.color})}/>
The text was updated successfully, but these errors were encountered:
Hey great work on the lib, it looks really promising.
I tried to go through the example which i found here.
Which was working fine when using the dataset without any dates, but when I switched over to using the dataset with dates I received the error below which I found hard to trace.
This is the snippet I was using
The text was updated successfully, but these errors were encountered: