Optional - Whether to animate the chart as it is drawn. Default true
Optional - whether to animate the appearance of the legend. Default true
Optional - The number of frames for the animation. Default 30. A frame will be trigged every 20ms.
Optional - adds the border to the view area
Optional - the option of disabling / enabling scaling of the SciChartSurfaceBase. If false - the SciChartSurfaceBase will take the height and width of parent div without scaling.
Optional - when true, charts that are out of the viewport will be frozen (pausing rendering). Data updates can resume Once the chart is in view again, rendering will resume. This can be useful for performance optimization.
Optional - the height aspect ratio of the SciChartPieSurface. By default SciChart will scale to fit the parent Div. However if height of the div is not provided it will use width/height aspect ratio to calculate the height. The default ratio is 3/2.
Optional - the radius of the hole for a donut chart.
Optional - how the hole radius is interpreted, either absolute, or relative to the total radius
Allows you to set custom Id for the surface;
Sets a LabelProvider - a class which is responsible for formatting axis labels and cursor labels from numeric values
Use this to adjust the position of the labels. 1 is the default. Larger values will shift the labels outwards. For Pie charts, 1.7 will place the labels outside the pie. If you want more detailed control you can override calcTitlePosition.
Allows you to customize the loading elements or animation as part of the HTML page / DOM when a SciChartSurface or SciChart3DSurface is loading WebAssembly.
Set to false for disabling.
Optional - adds the spacings / padding around the view area
Optional - whether this is a pie or donut chart. Default Pie.
Optional - addes spacing between the segments
Optional - whether to show the legend. Default true
Optional - whether to show checkboxes on the legend. Default false
Optional - whether to show series markers on the legend. Default true
Optional - The theme applied to the SciChartSurfaceBase on startup
Sets a touch-action
property to the canvas style.
Useful if touch interactions in browser should be configured.
https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action
Whether to show labels as percentages, or raw values. Default to percentages
Optional - the width aspect ratio of the SciChartPieSurface. By default SciChart will scale to fit the parent Div. However if height of the div is not provided it will use width/height aspect ratio to calculate the height. The default ratio is 3/2.
Generated using TypeDoc
Options passed to a SciChartPieSurface in the SciChartPieSurface.create function