init
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
---
|
||||
source_files:
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/ResetZoomChangedEvent.cs
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/CursorShowChangedEvent.cs
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/CursorsClearChangedEvent.cs
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/CursorShowMinMaxChangedEvent.cs
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/CursorsAlailableChangedEvent.cs
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/SaveToPDFRequestedEvent.cs
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/ChartAxisChangedEvent.cs
|
||||
- Common/DTS.Common/Events/DTS.Viewer/ViewerChartOptions/ChartOptionsChangedEvent.cs
|
||||
generated_at: "2026-04-17T16:02:47.398492+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "795f6e3411213c28"
|
||||
---
|
||||
|
||||
# ViewerChartOptions
|
||||
|
||||
### Purpose
|
||||
This module defines Prism-based event classes for chart viewer operations, enabling loosely-coupled communication between components in the viewer subsystem. Events cover zoom reset, cursor display/clearing, PDF export, and axis/options changes. Uses the older `Microsoft.Practices.Prism.Events` namespace (Prism 4.x or earlier).
|
||||
|
||||
### Public Interface
|
||||
|
||||
**ResetZoomChangedEvent**
|
||||
- Inherits `CompositePresentationEvent<bool>` - Event payload is a boolean.
|
||||
|
||||
**CursorShowChangedEvent**
|
||||
- Inherits `CompositePresentationEvent<bool>` - Event payload is a boolean.
|
||||
|
||||
**CursorsClearChangedEvent**
|
||||
- Inherits `CompositePresentationEvent<bool>` - Event payload is a boolean.
|
||||
|
||||
**CursorShowMinMaxChangedEvent**
|
||||
- Inherits `CompositePresentationEvent<bool>` - Event payload is a boolean.
|
||||
|
||||
**CursorsAlailableChangedEvent**
|
||||
- Inherits `CompositePresentationEvent<bool>` - Event payload is a boolean. Note: typo in class name ("Alailable" vs "Available").
|
||||
|
||||
**SaveToPDFRequestedEvent**
|
||||
- Inherits `CompositePresentationEvent<string>` - Event payload is a string (likely file path).
|
||||
|
||||
**ChartAxisChangedEvent**
|
||||
- Inherits `CompositePresentationEvent<ChartAxisChangedEventArg>` - Event payload is `ChartAxisChangedEventArg`.
|
||||
|
||||
**ChartAxisChangedEventArg**
|
||||
- `IBaseViewModel ParentVM { get; set; }` - Parent view model reference.
|
||||
- `string Axis { get; set; }` - Axis identifier.
|
||||
- `double MinValue { get; set; }` - Minimum axis value.
|
||||
- `double MaxValue { get; set; }` - Maximum axis value.
|
||||
|
||||
**ChartOptionsChangedEvent**
|
||||
- Inherits `CompositePresentationEvent<ChartOptionsChangedEventArg>` - Event payload is `ChartOptionsChangedEventArg`.
|
||||
|
||||
**ChartOptionsChangedEventArg**
|
||||
- `IBaseViewModel ParentVM { get; set; }` - Parent view model reference.
|
||||
- `IChartOptionsModel Model { get; set; }` - Chart options model.
|
||||
- `string ChartType { get; set; }` - Chart type identifier.
|
||||
|
||||
### Invariants
|
||||
- All events inherit from `CompositePresentationEvent<T>` and are empty classes (no additional members).
|
||||
- Event args classes (`ChartAxisChangedEventArg`, `ChartOptionsChangedEventArg`) are mutable POCOs with public getters and setters.
|
||||
- The `
|
||||
Reference in New Issue
Block a user