Hide Comments
Hide Comments

Comments (0)

Specifies the maximum height/value for all the equalizer bars in the EQ Chart. Use the Max and  Min properties to specify the value range for the equalizer bars.

Namespace: RSBarCharts

expandingSyntax

Delphi

published
  property Max: TRSChartValueType read FMax write SetMax;
 

Property Value

Type: TRSChartValueType

expandingExamples

The following code sets the Minimum and Maximum range before addings some EQ bars to the EQ chart:

Delphi

var
   i: Integer;
   Bar: Integer;
 begin
   // set range from 0 to 100 and 0 to 1
   RSEQChart1.Min := 0;
   RSEQChart1.Max := 100;
   // Make the EQ bars be a gradient from green to red
   RSEQChart1.MaxColor := clRed;
   RSEQChart1.MinColor := clGree;
   RSEQChart1.EQOptions := RSEQChart1.EQOptions + [eqoGradient]
    // now add 10 points
   for i := 0 to 9 do
   begin
     Bar := Random(100);
     RSEQChart1.Values.Add(Bar, Bar+Random(100-Bar)); // add value and a fictitious high water mark
   end;
 end;
 

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb