Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -28,11 +28,8 @@ namespace Server.Engines.Reports
|
|||
private int _legendFontHeight;
|
||||
private string _legendFontStyle;
|
||||
private float _legendFontSize;
|
||||
private bool _showPercents;
|
||||
|
||||
public bool ShowPercents{ get => _showPercents;
|
||||
set => _showPercents = value;
|
||||
}
|
||||
public bool ShowPercents { get; set; }
|
||||
|
||||
public PieChartRenderer()
|
||||
{
|
||||
|
|
@ -131,7 +128,7 @@ namespace Server.Engines.Reports
|
|||
if ( fnt == null )
|
||||
fnt = new Font( _legendFontStyle, _legendFontSize );
|
||||
|
||||
if ( _showPercents && item.SweepSize > 10 )
|
||||
if ( ShowPercents && item.SweepSize > 10 )
|
||||
{
|
||||
if ( sfp == null )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue