Exemple #1
0
        /// <summary>
        /// When the volumePS chart has changed, this is called which updates hte costPS chart.
        /// </summary>
        private void volumePS_InteractionOccured(object sender)
        {
            DateTimeAxis axis = new DateTimeAxis(volumePS.XAxis1);

            axis.Label        = "";
            axis.HideTickText = true;
            costPS.XAxis1     = axis;
            costPS.Refresh();
        }
Exemple #2
0
        /// <summary>
        /// When the costPS chart has changed, this is called which updates the volumePS chart.
        /// </summary>
        /// <param name="sender"></param>
        private void costPS_InteractionOccured(object sender)
        {
            DateTimeAxis axis = new DateTimeAxis(costPS.XAxis1);

            axis.Label        = "Date / Time";
            axis.HideTickText = false;
            volumePS.XAxis1   = axis;
            volumePS.Refresh();
        }
Exemple #3
0
    protected void Start(Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl plotSurface)
    {
        if (plotSurface == null)
        {
            return;
        }

        plotSurface.Clear();
        PlotDataSet(plotSurface.Inner);

        plotSurface.AddInteraction(new Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl.Interactions.HorizontalDrag());
        plotSurface.AddInteraction(new Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl.Interactions.VerticalDrag());
        plotSurface.AddInteraction(new Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl.Interactions.AxisDrag(true));

        plotSurface.Refresh();

        AltGUIHelper.SetNPlotSurfaceDefaultBackColor(plotSurface);
    }