Skip to content

Commit

Permalink
Merge pull request #18 from bonsai-rx/feature-dev
Browse files Browse the repository at this point in the history
Rename ZedGraph visualizers package
  • Loading branch information
glopesdev authored Mar 25, 2024
2 parents 5860d1f + deb9efc commit 2c78bbe
Show file tree
Hide file tree
Showing 48 changed files with 64 additions and 92 deletions.
42 changes: 0 additions & 42 deletions src/Bonsai.Gui.Visualizers/Bonsai.Gui.Visualizers.csproj.user

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Drawing;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
class BarGraph : RollingGraph
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Linq.Expressions;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Represents an operator that configures a visualizer to plot each element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
using System.Reactive;
using Bonsai;
using Bonsai.Design;
using Bonsai.Gui.Visualizers;
using Bonsai.Gui.ZedGraph;
using Bonsai.Expressions;
using ZedGraph;

[assembly: TypeVisualizer(typeof(BarGraphOverlay), Target = typeof(MashupSource<RollingGraphPanelVisualizer, BarGraphVisualizer>))]


namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a type visualizer used to overlay a sequence of values as a bar graph.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using ZedGraph;
using System.Globalization;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
partial class BarGraphView : UserControl
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Windows.Forms;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a type visualizer to display an object as a bar graph.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<Title>Bonsai - GUI Visualizers</Title>
<Description>Bonsai Library for composing real-time data visualizers.</Description>
<PackageTags>Bonsai Rx GUI Graphical User Interface Visualizers</PackageTags>
<Title>Bonsai - GUI ZedGraph</Title>
<Description>Bonsai Library for composing real-time data visualizers using ZedGraph.</Description>
<PackageTags>Bonsai Rx GUI Graphical User Interface ZedGraph Visualizers</PackageTags>
<TargetFrameworks>net472</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<VersionPrefix>0.1.0</VersionPrefix>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Windows.Forms;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
internal abstract class BoundedGraphPanel : GraphControl
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
internal class BoundedPointPairList : IPointListEdit
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Drawing;
using System.Xml.Serialization;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Represents common configuration properties for individual curves in a graph.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Reactive.Disposables;
using Bonsai.Design;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a dynamic graph control with a built-in color cycle palette.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Xml.Serialization;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
static class GraphHelper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
internal class GraphPanel : BoundedGraphPanel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Reactive.Linq;
using System.Reactive;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Represents an operator that specifies a mashup graph panel that can be used
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel;
using Bonsai.Expressions;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides an abstract base class with common mashup graph panel functionality.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using ZedGraph;
using System.Globalization;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
partial class GraphPanelView : GraphPanel
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Bonsai.Expressions;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a type visualizer that can be used to overlay multiple plots sharing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Drawing;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
class LineGraph : RollingGraph
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Linq.Expressions;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Represents an operator that configures a visualizer to plot each element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
using System.Reactive;
using Bonsai;
using Bonsai.Design;
using Bonsai.Gui.Visualizers;
using Bonsai.Gui.ZedGraph;
using Bonsai.Expressions;
using ZedGraph;

[assembly: TypeVisualizer(typeof(LineGraphOverlay), Target = typeof(MashupSource<GraphPanelVisualizer, LineGraphVisualizer>))]


namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a type visualizer used to overlay a sequence of points as a line graph.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using ZedGraph;
using System.Globalization;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
partial class LineGraphView : UserControl
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Windows.Forms;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a type visualizer to display an object as a line graph.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
internal class PointPairDeque : IReadOnlyList<PointPair>
{
Expand Down
7 changes: 7 additions & 0 deletions src/Bonsai.Gui.ZedGraph/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Bonsai;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: XmlNamespacePrefix("clr-namespace:Bonsai.Gui.ZedGraph", "zg")]
[assembly: WorkflowNamespaceIcon("Bonsai:ElementIcon.Visualizer")]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Windows.Forms;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
abstract class RollingGraph : GraphControl
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Linq.Expressions;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Represents an operator that configures a visualizer to plot each element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
using System.Reactive;
using Bonsai;
using Bonsai.Design;
using Bonsai.Gui.Visualizers;
using Bonsai.Gui.ZedGraph;
using Bonsai.Expressions;
using ZedGraph;

[assembly: TypeVisualizer(typeof(RollingGraphOverlay), Target = typeof(MashupSource<RollingGraphPanelVisualizer, RollingGraphVisualizer>))]


namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a type visualizer used to overlay a sequence of values as a rolling graph.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
internal class RollingGraphPanel : BoundedGraphPanel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Reactive;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Represents an operator that specifies a mashup graph panel that can be used
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using ZedGraph;
using System.Globalization;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
partial class RollingGraphPanelView : RollingGraphPanel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Bonsai.Expressions;
using ZedGraph;

namespace Bonsai.Gui.Visualizers
namespace Bonsai.Gui.ZedGraph
{
/// <summary>
/// Provides a type visualizer that can be used to overlay multiple plots sharing
Expand Down
Loading

0 comments on commit 2c78bbe

Please sign in to comment.