Skip to content

Commit ee5a9ce

Browse files
Merge pull request #160 from Syncfusion-Content/hotfix/hotfix-v20.2.0.43
DOCINFRA-2341_merged_using_automation
2 parents e9c6edc + 7c13354 commit ee5a9ce

File tree

3 files changed

+47
-47
lines changed

3 files changed

+47
-47
lines changed

angular/Chart/Legend.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: post
3-
title: Chart legend
4-
description: How to cutomize the legend in Essential Angular Chart.
3+
title: Legend in Angular Chart Control | Syncfusion
4+
description: Learn here all about Legend support in Syncfusion Essential Angular Chart control, its elements, and more
55
platform: Angular
66
control: Chart
77
documentation: ug
88
---
99

10-
# Legend
10+
# Legend in Angular Chart
1111

1212
The legend contains the list of chart series and Trendlines that appear in a chart.
1313

@@ -22,7 +22,7 @@ By default, the legend is enabled in the chart. You can enable or disable it by
2222

2323
{% endhighlight %}
2424

25-
![](Legend_images/Legend_img1.png)
25+
![Angular Chart legend visibility](Legend_images/Legend_img1.png)
2626

2727
## Legend title
2828

@@ -35,7 +35,7 @@ To add the title to the legend, you have to specify the `legend.title.text` opti
3535

3636
{% endhighlight %}
3737

38-
![](Legend_images/Legend_img2.png)
38+
![Angular Chart legend title](Legend_images/Legend_img2.png)
3939

4040

4141
## Position and Align the Legend
@@ -49,7 +49,7 @@ By using the `position` option, you can position the legend at *left*, *right*,
4949

5050
{% endhighlight %}
5151

52-
![](Legend_images/Legend_img3.png)
52+
![Angular Chart position and align the legend](Legend_images/Legend_img3.png)
5353

5454
**Legend Alignment**
5555

@@ -62,7 +62,7 @@ You can align the legend to the *center*, *far* or *near* based on its position
6262

6363
{% endhighlight %}
6464

65-
![](Legend_images/Legend_img4.png)
65+
![Angular Chart legend alignment](Legend_images/Legend_img4.png)
6666

6767

6868
## Arrange legend items in the rows and columns
@@ -85,7 +85,7 @@ You can arrange the legend items horizontally and vertically by using the `rowCo
8585

8686
{% endhighlight %}
8787

88-
![](Legend_images/Legend_img5.png)
88+
![Angular Chart arrange legend items in the rows and column](Legend_images/Legend_img5.png)
8989

9090

9191
## Customization
@@ -101,7 +101,7 @@ To change the legend icon shape, you have to specify the shape in the `shape` pr
101101

102102
{% endhighlight %}
103103

104-
![](Legend_images/Legend_img6.png)
104+
![Angular Chart customization](Legend_images/Legend_img6.png)
105105

106106

107107
### Legend items size and border
@@ -117,7 +117,7 @@ You can change the size of the legend items by using the `itemStyle.width` and `
117117

118118
{% endhighlight %}
119119

120-
![](Legend_images/Legend_img7.png)
120+
![Angular Chart legend shape](Legend_images/Legend_img7.png)
121121

122122
### Legend size
123123

@@ -130,7 +130,7 @@ By default, legend takes 20% of the **height** horizontally when it was placed o
130130

131131
{% endhighlight %}
132132

133-
![](Legend_images/Legend_img8.png)
133+
![Angular Chart legend size](Legend_images/Legend_img8.png)
134134

135135

136136
### Legend Item Padding
@@ -144,7 +144,7 @@ You can control the spacing between the legend items by using the `itemPadding`
144144

145145
{% endhighlight %}
146146

147-
![](Legend_images/Legend_img9.png)
147+
![Angular Chart legend item padding](Legend_images/Legend_img9.png)
148148

149149
### Legend border
150150

@@ -157,7 +157,7 @@ You can customize the legend border by using the `border` option in the legend.
157157

158158
{% endhighlight %}
159159

160-
![](Legend_images/Legend_img10.png)
160+
![Angular Chart legend border](Legend_images/Legend_img10.png)
161161

162162
### Scrollbar for legend
163163

@@ -171,7 +171,7 @@ You can enable or disable the legend scrollbar by using the `enableScrollbar` op
171171

172172
{% endhighlight %}
173173

174-
![](Legend_images/Legend_img11.png)
174+
![Angular Chart scrollbar for legend](Legend_images/Legend_img11.png)
175175

176176
### Customize the legend text
177177

@@ -192,7 +192,7 @@ this.titleFont= { fontFamily: 'Segoe UI', fontStyle: 'Italic',
192192

193193
{% endhighlight %}
194194

195-
![](Legend_images/Legend_img12.png)
195+
![Angular Chart customize the legend text](Legend_images/Legend_img12.png)
196196

197197
### LegendItems Text Overflow
198198

@@ -207,20 +207,20 @@ You can trim the legend item text when its width exceeds the `legend.textWidth`,
207207

208208
{% endhighlight %}
209209

210-
![](Legend_images/Legend_img13.png)
210+
![Angular Chart legend items text overflow](Legend_images/Legend_img13.png)
211211

212212

213213
**Wrap**
214214

215215
By specifying `textOverflow` as **"wrap"**, you can wrap the legend text by word.
216216

217-
![](Legend_images/Legend_img14.png)
217+
![Angular Chart wrap](Legend_images/Legend_img14.png)
218218

219219
**WrapAndTrim**
220220

221221
You can wrap and trim the legend text by specifying `textOverflow` as **"wrapAndTrim"**. The original text will be displayed on mouse hover.
222222

223-
![](Legend_images/Legend_img15.png)
223+
![Angular Chart wrap and trim](Legend_images/Legend_img15.png)
224224

225225

226226
## Handle the legend item clicked
@@ -253,7 +253,7 @@ You can select a specific series or point while clicking on the corresponding le
253253

254254
{% endhighlight %}
255255

256-
![](Legend_images/Legend_img16.png)
256+
![Angular Chart series selection on legend item click](Legend_images/Legend_img16.png)
257257

258258

259259

@@ -276,4 +276,4 @@ You can collapse the specific series/point legend item displaying in the chart,
276276

277277
{% endhighlight %}
278278

279-
![](Legend_images/Legend_img17.png)
279+
![Angular Chart collapsing legend item](Legend_images/Legend_img17.png)

angular/Gantt/Resource-Allocation-View.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
layout: post
3-
title: Resource Allocation View
4-
description: resource allocation view
3+
title: Resource Allocation view in Angular Gantt Control | Syncfusion
4+
description: Learn here all about resource allocation view support in Syncfusion Angular TimePicker control, its elements, and more.
55
platform: Angular
66
control: Gantt
77
documentation: ug
88
api: /api/js/ejgantt
99
---
1010

11-
# Resource Allocation View
11+
# Resource Allocation View in Angular Gantt
1212
Resource allocation view is used to visualize the resource usage in a project. Resources are displayed in separate rows and all the tasks assigned to a specific resource will be displayed in the chart side. In this view, a user can able to easily identify the overallocation of resources in a project.
1313

14-
![](Resource-Allocation-View_images/ResourceView_1.png)
14+
![Angular Gantt resource allocation](Resource-Allocation-View_images/ResourceView_1.png)
1515

1616
## Data Binding
1717
User can bind two types of data structure to Gantt in resource allocation view,
@@ -98,7 +98,7 @@ export class ResourceComponent {
9898

9999
{% endtabs %}
100100

101-
![](Resource-Allocation-View_images/ResourceView_2.png)
101+
![Angular Gantt bind flat data](Resource-Allocation-View_images/ResourceView_2.png)
102102

103103
## Grouping
104104
The resources and the tasks assigned to those resources can be grouped into categories. The property `groupCollection` is used to define the groups to be displayed in the project. The properties `groupIdMapping` and `groupNameMapping` are used to map the group details.
@@ -152,30 +152,30 @@ export class ResourceComponent {
152152

153153
The below screen shot depicts a resource view in a project with 3 groups.
154154

155-
![](Resource-Allocation-View_images/ResourceView_3.png)
155+
![Angular Gantt grouping](Resource-Allocation-View_images/ResourceView_3.png)
156156

157157
## CRUD data operations
158158

159159
### Adding a task
160160
It is possible to add a task dynamically either by using toolbar insert icon or by context menu add option. The below screen shot shows the toolbar add and context menu add options.
161161

162-
![](Resource-Allocation-View_images/ResourceView_4.png)
162+
![Angular Gantt CRUD data operation](Resource-Allocation-View_images/ResourceView_4.png)
163163

164-
![](Resource-Allocation-View_images/ResourceView_5.png)
164+
![Angular Gantt adding task](Resource-Allocation-View_images/ResourceView_5.png)
165165

166166
When the insert option is clicked, the add dialog will be displayed prompting the user to provide the task details. After providing the task details, when user click the save button without providing the resource information or without assigning any resource to the task, the task will be added at the top by default.
167167

168-
![](Resource-Allocation-View_images/ResourceView_6.png)
168+
![Angular Gantt insert option](Resource-Allocation-View_images/ResourceView_6.png)
169169

170-
![](Resource-Allocation-View_images/ResourceView_7.png)
170+
![Angular Gantt add dialog](Resource-Allocation-View_images/ResourceView_7.png)
171171

172172
If the newly added task should be assigned to a specific resource, user can able to select the resource information in the resource tab of add dialog.
173173

174-
![](Resource-Allocation-View_images/ResourceView_8.png)
174+
![Angular Gantt specific resources](Resource-Allocation-View_images/ResourceView_8.png)
175175

176176
The below screen shot depicts a new task being assigned to a resource `Anne Dodsworth`.
177177

178-
![](Resource-Allocation-View_images/ResourceView_9.png)
178+
![Angular Gantt assign new task](Resource-Allocation-View_images/ResourceView_9.png)
179179

180180
N> It is not possible to add a resource to the project dynamically.
181181
N> A task can be assigned to one or more resource while adding.
@@ -185,12 +185,12 @@ N> A task can be assigned to one or more resource while adding.
185185
#### Editing a Task
186186
A task can be edited either by using edit dialog or by mouse interactions. A user can edit a task using edit dialog by performing double click action on the taskbar, user can then edit the task information in the edit dialog.
187187

188-
![](Resource-Allocation-View_images/ResourceView_10.png)
189-
![](Resource-Allocation-View_images/ResourceView_11.png)
188+
![Angular Gantt editing](Resource-Allocation-View_images/ResourceView_10.png)
189+
![Angular Gantt editing a task](Resource-Allocation-View_images/ResourceView_11.png)
190190

191191
A task’s schedule can be changed by left resizing, right resizing or dragging the task across the dates.
192192

193-
![](Resource-Allocation-View_images/ResourceView_12.png)
193+
![Angular Gantt left resizing](Resource-Allocation-View_images/ResourceView_12.png)
194194

195195
#### Update task values dynamically
196196
In resource allocation view also, we can update the task details dynamically on any action like external button click by using [`updateRecordByTaskId`](/api/angular/ejgantt#methods:updaterecordbytaskid "updateRecordByTaskId(data)") method. The below code example explains how to use this method in resource allocation view.
@@ -232,11 +232,11 @@ export class ResourceComponent {
232232

233233
The below screenshot shows the result of above code example.
234234

235-
![](Resource-Allocation-View_images/ResourceView_19.png)
235+
![Angular Gantt update task value dynamically](Resource-Allocation-View_images/ResourceView_19.png)
236236
Before update
237237
{:.caption}
238238

239-
![](Resource-Allocation-View_images/ResourceView_20.png)
239+
![Angular Gantt before update](Resource-Allocation-View_images/ResourceView_20.png)
240240
After update
241241
{:.caption}
242242

@@ -245,16 +245,16 @@ After update
245245
#### Deleting Task
246246
User should select a task to be removed from the project, and then the task can be deleted using context menu delete button.
247247

248-
![](Resource-Allocation-View_images/ResourceView_13.png)
248+
![Angular Gantt deleting](Resource-Allocation-View_images/ResourceView_13.png)
249249

250250
#### Deleting Resource
251251
User can able to delete a resource and the tasks assigned to it using toolbar and context menu delete options. After selecting the resource row, when clicking the delete toolbar icon, the resource will be removed from the project and the tasks assigned to that resource will be listed in unassigned tasks’ list. The same will happen for context menu delete option.
252252

253-
![](Resource-Allocation-View_images/ResourceView_14.png)
253+
![Angular Gantt deleting task](Resource-Allocation-View_images/ResourceView_14.png)
254254

255255
The below screen shot depicts the tasks of the removed resource added as unassigned tasks to the project.
256256

257-
![](Resource-Allocation-View_images/ResourceView_15.png)
257+
![Angular Gantt deleting resources](Resource-Allocation-View_images/ResourceView_15.png)
258258

259259
## Unassigned Tasks and Resources
260260
There may be some instances, where one or more resources are not yet included in the project plan. Therefore, those resources are left with no tasks assigned to them. Those resources are termed as `unassigned resource`. The right side of the resource row will be left blank with no tasks.
@@ -286,7 +286,7 @@ export class ResourceComponent {
286286

287287
In the below screen shot, the resource `Nancy Davolio` is the unassigned resource.
288288

289-
![](Resource-Allocation-View_images/ResourceView_16.png)
289+
![Angular Gantt unassigned task and resources](Resource-Allocation-View_images/ResourceView_16.png)
290290

291291
There may be instances where some tasks are not yet assigned with resources. Those tasks that are not assigned to any resources are termed as unassigned tasks. Unassigned tasks are displayed at bottom, with resource name as `Unassigned Task`. Unassigned tasks can be assigned to any resources in the project.
292292
The below code snippet shows a task with no resource assigned to it.
@@ -317,9 +317,9 @@ export class ResourceComponent {
317317

318318
In the below screen shot, there more instances of unassigned tasks.
319319

320-
![](Resource-Allocation-View_images/ResourceView_17.png)
320+
![Angular Gantt instances of unassigned tasks](Resource-Allocation-View_images/ResourceView_17.png)
321321

322322
## Resource Overallocation
323323
By default, a resource can work 8 hours a work day, but when a resource is forced to work more than 8 hours it is termed as overallocation. Or when a resource is assigned with two or more tasks which is occurring in a same date range, this state is termed as over allocation for a resource. The overlapped tasks are highlighted like in the below screen shot. The overlapped tasks will be displayed one below the other with an overlapped highlighted region.
324324

325-
![](Resource-Allocation-View_images/ResourceView_18.png)
325+
![Angular Gantt resource over allocation](Resource-Allocation-View_images/ResourceView_18.png)

angular/TimePicker/Time-Format.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: post
3-
title: Time-Format
4-
description: time format
3+
title: Time Picker in Angular TimePicker Control | Syncfusion
4+
description: Learn here all about time format support in Syncfusion Angular TimePicker control, its elements, and more.
55
platform: Angular
66
control: TimePicker
77
documentation: ug
88
---
99

10-
# Time Format
10+
# Time Format in Angular TimePicker
1111

1212
**TimePicker** widget provides you an option to change the time format.
1313

@@ -40,5 +40,5 @@ export class DefaultComponent {
4040

4141
Execute the above code to render the following output.
4242

43-
![](/Angular/TimePicker/Time-Format_images/Time-Format_img1.png)
43+
![Angular TimePicker time format](Time-Format_images/Time-Format_img1.png)
4444

0 commit comments

Comments
 (0)