Skip to content

Commit d28099e

Browse files
Merge pull request #203 from telerik/RadHtmlChart-troubleshooting-plotarea-shrunk-by-legend
Update common-issues.md
2 parents b8a9fa3 + cb5391f commit d28099e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

controls/htmlchart/troubleshooting/common-issues.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,23 +168,23 @@ Solution: You can either offset the legend (see an example in the [ADD legend po
168168

169169
## PlotArea is Shrunk by the Legend / PlotArea Dimensions Depend on the Legend Size
170170

171-
Generally, the size of the chart's elements including the PlotArea is dynamic, so that that all the elements can fit in with the chart's wrapper size. This, however, may leads to the following issues:
171+
Generally, the size of the chart's elements, including the PlotArea, is dynamic, so that all the elements can fit in with the chart's wrapper size. This, however, may lead to the following issues:
172172

173173
* Longer legend names will shrunk the PlotArea dimensions.
174174

175-
* Charts with similar dimensions and series but different legend size (e.g., the length of the legend items varies) will have different PlotArea size.
175+
* Charts with similar dimensions and series but different legend size (e.g., the length of the legend items varies) will have a different PlotArea size.
176176

177-
>caption Figure 2: Compare two charts with similar dimensions but different PlotArea size.
177+
>caption Figure 2: Compare two charts with similar dimensions but different PlotArea sizes.
178178
179179
![htmlchart-troubleshooting-common-issues-plotarea-varying-size](images/htmlchart-troubleshooting-common-issues-plotarea-varying-size.png)
180180

181-
You can resolve these issue as follows:
181+
You can resolve these issues as follows:
182182

183-
1. Set enough margin between the PlotArea and the legend via the [PlotArea.Appearance.TextStyle.Margin property]({%slug htmlchart/appearance-and-styling/labels-and-titles-font-settings%}#setting-text-styles-for-titles-and-labels).
183+
1. Set additional margin between the PlotArea and the legend via the [PlotArea.Appearance.TextStyle.Margin property]({%slug htmlchart/appearance-and-styling/labels-and-titles-font-settings%}#setting-text-styles-for-titles-and-labels).
184184

185185
1. Define a custom position for the legend via the [Legend.Appearance.Position, OffsetX and OffsetY properties]({%slug htmlchart/appearance-and-styling/legend-settings%}#position-and-alignment).
186186

187-
>caption Figure 3: Compare two charts with similar size of their PlotArea and wrapper element.
187+
>caption Figure 3: Comparing two charts with similar sized PlotAreas and wrapper elements.
188188
189189
![htmlchart-troubleshooting-common-issues-plotarea-fixed-size](images/htmlchart-troubleshooting-common-issues-plotarea-fixed-size.png)
190190

@@ -235,7 +235,7 @@ You can resolve these issue as follows:
235235

236236
Solution: Special characters in data source field names are escaped by surrounding the name with quotes and brackets (see **Example 3**).
237237

238-
>caution There are invalid characters in data source field names which cannot be escaped like "(", ")", "[", "]", ".", "/", "\". More information is available in the [Datacolumn name illegal character](https://social.msdn.microsoft.com/Forums/en-US/e2a88f75-da11-49db-8ec8-ef3007a66d28/datacolumn-name-illegal-character) forum post.
238+
>caution There are invalid characters in data source field names that cannot be escaped including "(", ")", "[", "]", ".", "/", "\". More information is available in the [Datacolumn name illegal character](https://social.msdn.microsoft.com/Forums/en-US/e2a88f75-da11-49db-8ec8-ef3007a66d28/datacolumn-name-illegal-character) forum post.
239239
240240

241241
>caption Example 4: Escaping special characters in field names by surrounding the name with quotes and brackets.
@@ -291,7 +291,7 @@ End Function
291291
````
292292

293293

294-
## Chart with display: none Does not Show Itself
294+
## Chart with 'display: none' Does Not Show Itself
295295

296296
If you have a **RadHtmlChart** with `display: none` set to its wrapper element, toggling its CSS attribute to `display: block`, for example, may result in the chart not showing itself, remaining invisible or being distorted.
297297

0 commit comments

Comments
 (0)