You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example shows how to make the Telerik Chart component respond to a change in the browser size and re-render with the new dimensions.
2
4
3
5
The key points are:
@@ -6,4 +8,4 @@ The key points are:
6
8
* Other useful information is denoted with comments in the code.
7
9
* In this example, a static class is used to dispatch an "event" that comes from the JS Interop (it's perhaps the easiest way to call a C# method from JS).
8
10
* In your actual project you would need to change the JS Interop file to match your namespace.
9
-
* You can use a similar approach to reach to changes in dimensions coming from other sources, not just JS Interop and browser events.
11
+
* You can use a similar approach to reach to changes in dimensions coming from other sources, not just JS Interop and browser events.
0 commit comments