Menu

Does the Highstock api provide the capability to set chart.zoomtype

Anu
2013-08-14
2013-08-15
  • Anu

    Anu - 2013-08-14
     
  • Cory Skowronek

    Cory Skowronek - 2013-08-15

    Hi Anu,

    A short answer to your question is yes, Highstock supports the chart.zoomType option.

    In the latest release of GWT Highcharts, the setZoomType method was moved to the BaseChart class so that it could be used in both the Chart as well as StockChart types. You can use it, for example, by doing:

    
    final StockChart chart = new StockChart()
        .setZoomType(Chart.ZoomType.X)
    ;
    

    The Showcase Application uses highstock.js for all of the examples as it supports all of the Highcharts options in addition to the Highstock options.

     

    Last edit: Cory Skowronek 2013-08-15

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.