Highcharts - Unable to remove xasis titles while drill down -
i have chart drill down option. drill chart xaxis titles dates. values poleted based on date. while drill down details of data being displayed.
while drilldown dates displayed on drillup diaplaying.
unable remove xaxis title while drill down.
{ "chart":{ "width":800, "height":400, "defaultseriestype":"column", "marginleft":70,"margintop":80}, "legend":{ "align":"left", "layout":"vertical", "verticalalign":"top", "x":100,"y":70}, "plotoptions":{ "column":{ "borderwidth":0}}, "series":[{ "data":[{ "x":1.4345658e12, "y":3.0, "drilldown":"1.4345658e12"}, { "x":1.4346522e12, "y":2.0, "drilldown":"1.4346522e12"}], "name":"all", "type":"column", "tooltip":{ "xdateformat":"%m/%d/%y"}}, { "data":[], "name":"abcd", "type":"column", "tooltip":{ "xdateformat":"%m/%d/%y"}}, { "data":[], "name":"efgh", "type":"column", "tooltip":{ "xdateformat":"%m/%d/%y"}}, { "data":[], "name":"ijkl", "type":"column", "tooltip":{ "xdateformat":"%m/%d/%y"}}], "title":{ "text":"alphabet"}, "xaxis":[{ "mintickinterval":8.64e7, "min":1.4343066e12, "max":1.4346522e12, "type":"datetime", "datetimelabelformats":{ "day":"%m/%d/%y"}, "title":{ "text":"date"}, "id":"default"}, { "type":"category", "id":"drilldown"}], "yaxis":{ "min":0.0, "title":{ "text":"count"}}, "drilldown":{ "series":[{ "data":[{ "y":1.0, "name":"a1"}, {"y":1.0, "name":"b1"}, {"y":1.0, "name":"c1"}], "id":"1.4345658e12", "xaxis":"drilldown"}, { "data":[{ "y":1.0, "name":"a11"}, { "y":1.0, "name":"b11"}], "id":"1.4346522e12", "xaxis":"drilldown"}] } }
to hide title, use axis.showempty
option. however, there bug in option, when trying hide axis and setting min , max axis.
demo: http://jsfiddle.net/vncnwd66/3/
bug report.
Comments
Post a Comment