1. while assigning dynamic height to chart using options for individual charts, navigator is not showing (refer container 1 in attached code)
StockChart takes default height when stockchart container’s height is not set. You can set the height of stockchart container by setting height in “containerProps” props of CanvasJS as explained in tutorial. Please take a look at this updated stackblitz example.
2.How can i decouple or extract navigator from container 2 so that it do not become part of scroll in case overflow is applied.(refer container 2 in attached code)
Decoupling navigator from stockchart is not possible as of now. However, you can achieve it by setting height of chart, navigator and stockchart container as shown in this stackblitz example.
—-
Manoj Mohan
Team CanvasJS
1. while assigning dynamic height to chart using options for individual charts, navigator is not showing (refer container 1 in attached code)
StockChart takes default height when stockchart container’s height is not set. You can set the height of stockchart container by setting height in “containerProps” props of CanvasJS as explained in tutorial. Please take a look at this updated stackblitz example.
2.How can i decouple or extract navigator from container 2 so that it do not become part of scroll in case overflow is applied.(refer container 2 in attached code)
Decoupling navigator from stockchart is not possible as of now. However, you can achieve it by setting height of chart, navigator and stockchart container as shown in this stackblitz example.
Considering this thread as a duplicate of navigator hidden when height assigned to charts in stockcharts and hence closing the same.
—-
Manoj Mohan
Team CanvasJS
@regcaultgmail-com,
Sorry, adding click event to label is not available as of now.
—-
Manoj Mohan
Team CanvasJS
Parsing Male and Female categories to separate dataPoints should work fine in your case. Please take at this JSFiddle.
—-
Manoj Mohan
Team CanvasJS
Please take a look at this StackBlitz project for an example on syncing zoom and pan across multiple charts in React.
—-
Manoj Mohan
Team CanvasJS
In your case, you can set startAngle to rotate the pie chart and provide some extra space for indexlabels.
—-
Manoj Mohan
Team CanvasJS
Antoine,
You can render the chart using the dataPoints associated with the corresponding checkbox as shown in this JSFiddle. However, you can improve visualizing your data using multi-series chart in such scenarios.
—-
Manoj Mohan
Team CanvasJS
You can customize the size of pie/doughnut chart using radius property in this scenario which will allow indexlabels to utilize more space to display.
—-
Manoj Mohan
Team CanvasJS
Disabling tick for a particular axis label is not possible as of now. However, you can remove all the ticks by setting tickLength property to zero.
—-
Manoj Mohan
Team CanvasJS
Shyam,
You can place the axis labels above or below axis line by using labelPlacement property. Please take a look at this JSFiddle.
—-
Manoj Mohan
Team CanvasJS
zoomEnabled options is not available in Navigator. Please take a look at this documentation page to know more about the list of options available in Navigator. However, you can enable the zooming/panning in individual charts by using zoomEnabled property.
—-
Manoj Mohan
Team CanvasJS