PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 556 forks source link

Using Step interpolation on Series of line plot causes line to go beyond canvas grid #275

Open binyata opened 7 years ago

binyata commented 7 years ago
screen shot 2017-06-15 at 10 27 52 am
binyata commented 7 years ago

Sample code that uses step interpolation: let priceSeries = chart.addSeries(['product_id', 'retailer'], dimple.plot.line, [dateAxis, priceAxis]); priceSeries.getTooltipText = seriesTooltipText('Price'); priceSeries.interpolation = 'step';