SciRuby / daru-view

daru-view is for easy and interactive plotting in web application & IRuby notebook. daru-view is a plugin gem to the existing daru gem.
https://sciruby.github.io/daru-view/
MIT License
95 stars 20 forks source link

type: 'datetime' for date time in javascript. currently not working in HighCharts in IRuby notebook #146

Open snpd25 opened 5 years ago

snpd25 commented 5 years ago

6th cell throws error, this issue is opened so that it remains into consideration.

Shekharrajak commented 5 years ago

@snpd25 , Yes when it chart is come up we see nothing(I don't know why), but once you click inside the chart (click and drag) you will be able to see the chart.

snpd25 commented 5 years ago

@Shekharrajak , yes I can see that, will try to find the bug!

snpd25 commented 5 years ago

I changed type: 'area' to type: 'line' and it works. Please see it once.

Shekharrajak commented 5 years ago

Please paste the link, where I have to see

snpd25 commented 5 years ago

oh yes, here it is!

snpd25 commented 5 years ago

Though the type: datetime is not yet fixed.

Shekharrajak commented 5 years ago

@snpd25 , don't see any datateime type there. Please be specific.

snpd25 commented 5 years ago
# xAxis: {
        #     type: 'datetime' # for date time in javascript. currently not
        # working
        # },

I was referring to this in cell 6th.

Shekharrajak commented 5 years ago

Thanks @snpd25 for pointing it out, Yes we need to check how we can use the datatime type in Ruby and convert it to JavaScript datetime.