Skip to content

Commit 06c3f4f

Browse files
author
pipeline
committed
v31.2.12 is released
1 parent ecbb656 commit 06c3f4f

File tree

127 files changed

+1632
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+1632
-192
lines changed

config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@
111111
"common",
112112
"sys",
113113
"appbar",
114-
"textarea",
115-
null
114+
"textarea"
116115
]
117116
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-javascript-samples",
3-
"version": "31.2.2",
3+
"version": "31.2.12",
44
"description": "Examples of JavaScript (ES5) UI Controls",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",
237 KB
Loading
7.32 KB
Loading
1.77 KB
Loading

src/diagram/angle-diagram-stack.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

src/diagram/angle-diagram.html

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<div class="angle-diagram-container">
2+
<div class="control-section" style="width: 100%">
3+
<div id="diagram"></div>
4+
</div>
5+
</div>
6+
<div id="action-description">
7+
<p>
8+
This sample demonstrates an interactive solar panel tilt system built with the Syncfusion<sup>®</sup> EJ2 JavaScript Diagram component. Adjust the panel angle to see real-time changes in system efficiency based on the sun's position and location.
9+
</p>
10+
</div>
11+
<div id="description">
12+
<p>
13+
This interactive diagram visualizes a solar panel system. The sun's path is represented by a curved connector, and users can adjust the panel's tilt angle either by direct rotation or using integrated buttons. The system provides immediate feedback through a dynamic efficiency gauge and performance messages. Users can also select different locations to observe how regional variations impact overall solar efficiency.
14+
</p>
15+
</div>
16+
</div>
17+
18+
<style>
19+
.angle-diagram-container .e-ddl.e-input-group .e-input-group-icon, .e-ddl.e-input-group.e-control-wrapper .e-input-group-icon:hover {
20+
color: #9CA3AF;
21+
}
22+
23+
.angle-diagram-container .e-ddl.e-input-group.e-control-wrapper .e-input {
24+
color: #9CA3AF;
25+
font-size: 16px;
26+
font-weight : 500;
27+
}
28+
29+
.angle-diagram-container .angle-control-section {
30+
margin-bottom: 25px;
31+
background: linear-gradient(145deg, #ffffff, #f8f9fa);
32+
border-radius: 15px;
33+
padding: 25px;
34+
box-shadow: 0 5px 20px rgba(0,0,0,0.06);
35+
transition: transform 0.2s ease, box-shadow 0.2s ease;
36+
}
37+
38+
.angle-diagram-container .angle-control-label {
39+
display: flex;
40+
align-items: center;
41+
font-weight: 600;
42+
font-size: 18px;
43+
color: #2c3e50;
44+
margin-bottom: 15px;
45+
text-transform: uppercase;
46+
letter-spacing: 0.5px;
47+
}
48+
49+
.angle-diagram-container .angle-control {
50+
align-items: center;
51+
background: linear-gradient(145deg, #f8f9fa, #e9ecef);
52+
border: 2px solid #e9ecef;
53+
border-radius: 12px;
54+
padding: 15px;
55+
transition: all 0.3s ease;
56+
height: 100px;
57+
}
58+
59+
.angle-diagram-container .angle-display {
60+
display: block;
61+
text-align: center;
62+
margin: 0 20px;
63+
}
64+
65+
.angle-diagram-container .angle-value {
66+
font-size: 20px;
67+
font-weight: bold;
68+
color: #2c3e50;
69+
margin-bottom: 5px;
70+
}
71+
72+
.angle-diagram-container .angle-description {
73+
font-size: 16px;
74+
color: #7f8c8d;
75+
font-weight: 500;
76+
margin-top: 20px;
77+
margin-left: 2px;
78+
}
79+
80+
.angle-diagram-container .efficiency-section {
81+
text-align: center;
82+
margin-bottom: 30px;
83+
background: linear-gradient(145deg, #ffffff, #f1f3f4);
84+
border-radius: 20px;
85+
padding: 25px;
86+
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
87+
}
88+
89+
.angle-diagram-container .e-diagram-selector {
90+
stroke-width: 0;
91+
}
92+
</style>

src/diagram/angle-diagram.js

Lines changed: 689 additions & 0 deletions
Large diffs are not rendered by default.

src/diagram/avoid-connector-overlap-stack.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/diagram/background.png

237 KB
Loading

0 commit comments

Comments
 (0)