grafana-0.2: API for creating grafana dashboards represented as json
Grafana.Plugin.PieChart
data PieType Source #
Constructors
Defined in Grafana.Plugin.PieChart
Methods
toJSON :: PieType -> Value #
toEncoding :: PieType -> Encoding #
toJSONList :: [PieType] -> Value #
toEncodingList :: [PieType] -> Encoding #
data PieChart Source #
Fields
pieChartToPairs :: PieChart -> [(Text, Value)] Source #
pieChartPanel :: PieChart -> GridPos -> Panel Source #