mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 14:06:40 +02:00
Implement histogram command (#5518)
* finish histogram * adjust comment * add test for histogram * add Date to test * move hashable value back inside chart package
This commit is contained in:
@ -57,6 +57,7 @@ pub enum Category {
|
||||
Viewers,
|
||||
Hash,
|
||||
Generators,
|
||||
Chart,
|
||||
Custom(String),
|
||||
Deprecated,
|
||||
}
|
||||
@ -83,6 +84,7 @@ impl std::fmt::Display for Category {
|
||||
Category::Viewers => "viewers",
|
||||
Category::Hash => "hash",
|
||||
Category::Generators => "generators",
|
||||
Category::Chart => "chart",
|
||||
Category::Custom(name) => name,
|
||||
Category::Deprecated => "deprecated",
|
||||
};
|
||||
|
Reference in New Issue
Block a user