class MetricsController::Chart

Defined in:

controllers/metrics.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : String, points : Array(Point), timezone : Time::Location) #

[View source]

Class Method Detail

def self.labels(begin _begin, end _end, granularity : Granularity = Granularity::Daily) #

[View source]

Instance Method Detail

def data(begin _begin, end _end, granularity : Granularity = Granularity::Daily, predicate : Predicate = Predicate::Summate) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def points : Array(Point) #

[View source]
def points=(points : Array(Point)) #

[View source]