product-mix-auction-0.1.0.0: A single-round sealed-bid auction for multiple goods

Safe HaskellNone
LanguageHaskell2010

ProductMixAuction.Graphics.Scatter

Synopsis

Documentation

scatterBidsChart :: (ToField bid, Ord bid) => Env -> [Bidder bid] -> BidderAllocMap bid -> Maybe Plotly Source #

Plot a scatter chart of the bids, provided the auction has two or three goods.

stackedBidsChart :: (Ord bid, ToField bid) => Env -> [Bidder bid] -> Map (BidderName, bid) (Map Good Units) -> Plotly Source #

Plot a stacked column chart of the bids.

data ScatterPoint z c Source #

Constructors

ScatterPoint 

Fields

sp_label :: forall z c. Lens' (ScatterPoint z c) (Maybe Text) Source #

sp_size :: forall z c. Lens' (ScatterPoint z c) Double Source #

sp_x :: forall z c. Lens' (ScatterPoint z c) Double Source #

sp_y :: forall z c. Lens' (ScatterPoint z c) Double Source #

sp_z :: forall z c z. Lens (ScatterPoint z c) (ScatterPoint z c) z z Source #

sp_colour :: forall z c c. Lens (ScatterPoint z c) (ScatterPoint z c) c c Source #

sp_symbol :: forall z c. Lens' (ScatterPoint z c) Symbol Source #