Represents the Smithchart control.
<div id="smithchart"/>
<script>
var chartObj = new Smithchart({ isResponsive : true });
chartObj.appendTo("#smithchart");
</script>
string
The background color of the smithchart.
options for customizing border.
area bounds
number
Spacing between elements.
Defaults to 10
boolean
Enable or disable persisting component’s state between page reloads.
Defaults to false
boolean
Enable or disable rendering component in right to left direction.
Defaults to false
options for customizing margin.
string
height for smithchart.
Defaults to ”
Options to configure the horizontal axis.
legend bounds
options for customizing legend.
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Defaults to ”
options for customizing margin.
Options to configure the vertical axis.
number
Spacing between elements.
Defaults to 1
render type of smithchart.
Defaults to Impedance
options for customizing series.
smithchartLegendModule
is used to add legend to the smithchart.
theme for smithchart.
Defaults to Material
options for customizing title.
tooltipRenderModule
is used to add tooltip to the smithchart.
string
width for smithchart.
Defaults to ”
Adds the handler to the given event listener.
Parameter | Type | Description |
---|---|---|
eventName | string |
A String that specifies the name of the event |
handler | Function |
Specifies the call to run when the event occurs. |
Returns void
Appends the control within the given HTML element
Parameter | Type | Description |
---|---|---|
selector (optional) | string | HTMLElement |
Target element where control needs to be appended |
Returns void
Adding unload event to persist data when enable persistence true
Returns void
When invoked, applies the pending property changes immediately to the component.
Returns void
To destroy the widget.
Returns void
Removing unload event to persist data when enable persistence true
Returns void
Handles the export method for the smith chart control.
Parameter | Type | Description |
---|---|---|
type | SmithchartExportType |
The smith chart export type. |
fileName | string |
The filename of the exported smith chart. |
orientation (optional) | PdfPageOrientation |
The page orientation for PDF export. |
Returns void
Returns the persistence data for component
Returns any
Get component name.
Returns string
Returns the route element of the component
Returns HTMLElement
Handling unload event to persist data when enable persistence true
Returns void
Applies all the pending property changes and render the component again.
Returns void
Removes the handler from the given event listener.
Parameter | Type | Description |
---|---|---|
eventName | string |
A String that specifies the name of the event to remove |
handler | Function |
Specifies the function to remove |
Returns void
To handle the click event for the smithchart.
Parameter | Type | Description |
---|---|---|
e | Event | PointerEvent |
The event. |
Returns void
To handle the window resize event on smithchart.
Returns boolean
Dynamically injects the required modules to the component.
Parameter | Type | Description |
---|---|---|
moduleList | Function[] |
? |
Returns void
EmitType<ISmithchartAnimationCompleteEventArgs>
Triggers after the animation completed.
EmitType<ISmithchartAxisLabelRenderEventArgs>
Triggers before the axis label is rendered.
EmitType<ISmithchartPrintEventArgs>
Triggers before the prints gets started.
EmitType<ISmithchartLegendRenderEventArgs>
Triggers before the legend is rendered.
EmitType<ISmithchartLoadEventArgs>
Triggers before smithchart rendered.
EmitType<ISmithchartLoadedEventArgs>
Triggers after smithchart rendered.
EmitType<ISmithchartSeriesRenderEventArgs>
Triggers before the series is rendered.
EmitType<ISubTitleRenderEventArgs>
Triggers before the sub-title is rendered.
EmitType<ISmithchartTextRenderEventArgs>
Triggers before the datalabel text is rendered.
EmitType<ITitleRenderEventArgs>
Triggers before the title is rendered.
EmitType<ISmithChartTooltipEventArgs>
Triggers before the tooltip rendering.