public static AggregateKey CreateAggregateKey(AttributeTransformationModel iom, HistogramResult histogramResult,
                                               int brushIndex)
 {
     return(new AggregateKey
     {
         AggregateParameterIndex = histogramResult.GetAggregateParametersIndex(createAggregateParameters(iom)),
         BrushIndex = brushIndex
     });
 }
 public static AggregateKey CreateAggregateKey(AttributeTransformationModel iom,
                                               SingleDimensionAggregateParameters aggParameters, HistogramResult histogramResult, int brushIndex)
 {
     aggParameters.Dimension = iom.AttributeModel.Index;
     return(new AggregateKey
     {
         AggregateParameterIndex = histogramResult.GetAggregateParametersIndex(aggParameters),
         BrushIndex = brushIndex
     });
 }