protected internal override EventBean PopulateMap( BaseStatisticsBean baseStatisticsBean, EventBeanTypedEventFactory eventAdapterService, EventType eventType, StatViewAdditionalPropsEval additionalProps, object[] decoration) { return DoPopulateMap(baseStatisticsBean, eventAdapterService, eventType, additionalProps, decoration); }
public RegressionLinestView( ViewFactory viewFactory, AgentInstanceContext agentInstanceContext, ExprEvaluator xEval, ExprEvaluator yEval, EventType eventType, StatViewAdditionalPropsEval additionalProps) : base(viewFactory, agentInstanceContext, xEval, yEval, eventType, additionalProps) { }
public SizeView( SizeViewFactory sizeViewFactory, AgentInstanceContext agentInstanceContext, EventType eventType, StatViewAdditionalPropsEval additionalProps) { this.sizeViewFactory = sizeViewFactory; this.agentInstanceContext = agentInstanceContext; this.eventType = eventType; this.additionalProps = additionalProps; }
/// <summary> /// Populate bean. /// </summary> /// <param name="baseStatisticsBean">results</param> /// <param name="eventAdapterService">event wrapping</param> /// <param name="eventType">type to produce</param> /// <param name="additionalProps">addition properties</param> /// <param name="decoration">decoration values</param> /// <returns>bean</returns> public static EventBean DoPopulateMap( BaseStatisticsBean baseStatisticsBean, EventBeanTypedEventFactory eventAdapterService, EventType eventType, StatViewAdditionalPropsEval additionalProps, object[] decoration) { IDictionary<string, object> result = new Dictionary<string, object>(); result.Put(ViewFieldEnum.CORRELATION__CORRELATION.GetName(), baseStatisticsBean.Correlation); additionalProps?.AddProperties(result, decoration); return eventAdapterService.AdapterForTypedMap(result, eventType); }
/// <summary> /// Constructor requires the name of the two fields to use in the parent view to compute the statistics. /// </summary> /// <param name="expressionXEval">is the expression to get the X values from</param> /// <param name="expressionYEval">is the expression to get the Y values from</param> /// <param name="agentInstanceContext">contains required view services</param> /// <param name="eventType">type of event</param> /// <param name="additionalProps">additional props</param> /// <param name="viewFactory">view factory</param> public BaseBivariateStatisticsView( ViewFactory viewFactory, AgentInstanceContext agentInstanceContext, ExprEvaluator expressionXEval, ExprEvaluator expressionYEval, EventType eventType, StatViewAdditionalPropsEval additionalProps ) { this.viewFactory = viewFactory; this.agentInstanceContext = agentInstanceContext; ExpressionXEval = expressionXEval; ExpressionYEval = expressionYEval; this.eventType = eventType; this.additionalProps = additionalProps; }