How to develop a DomScript |
User can code custom scripts in order to render the content that will be displayed in the Dom View. The DomScriptBase class exposes the Plot method which can be used to render the view as per his requirement.
OnRender(DrawingContext, ChartVisualArgs)
The OnRender method is called by ArthaChitra when it renders the Dom View. User must override this property to define how the data will be displayed.
During the life cycle of a DomScript it goes through different stages or processes. In each stage the DomScript performs a set of jobs. In which state the indicator s in is defined by the State property. Whenever the state gets changed it raises the method OnStateChange. The different states which a DomScript goes through are: