Documentation
¶
Index ¶
- func AlignGroupTimeRange(groupTimeRange int64) int64
- type ChartSettings
- type ChartSettingsArea
- type ChartSettingsSeries
- type DocumentChartItem
- func (c *DocumentChartItem) Clean()
- func (c *DocumentChartItem) Dispose()
- func (c *DocumentChartItem) GetData(key string, minTime, maxTime int64, groupTimeRange int64) ([]*timechart.Value, string)
- func (c *DocumentChartItem) GetLoadingDiapasons() []timechart.LoadingDiapason
- func (c *DocumentChartItem) GetUOM() string
- type DocumentChartValues
- type LoadingTask
- type TimeRange
- type WidgetCharts
- func (c *WidgetCharts) AddItem(id string)
- func (c *WidgetCharts) AddSeries(name string, area *timechart.Area) *timechart.Series
- func (c *WidgetCharts) Dispose()
- func (c *WidgetCharts) IsActive() bool
- func (c *WidgetCharts) Load(data []byte)
- func (c *WidgetCharts) OnInit()
- func (c *WidgetCharts) Save() []byte
- func (c *WidgetCharts) SetDataItems(items []string)
- func (c *WidgetCharts) SetEdit(editing bool)
- func (c *WidgetCharts) SetIsActive(isActive bool)
- func (c *WidgetCharts) SetOnChartContextMenuNeed(...)
- func (c *WidgetCharts) SetShowQualities(showQualities bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlignGroupTimeRange ¶
Types ¶
type ChartSettings ¶
type ChartSettings struct {
Areas []*ChartSettingsArea `json:"areas"`
}
type ChartSettingsArea ¶
type ChartSettingsArea struct {
UnitedScale bool `json:"united_scale"`
ShowQualities bool `json:"show_qualities"`
Series []*ChartSettingsSeries `json:"series"`
}
type ChartSettingsSeries ¶
type DocumentChartItem ¶
type DocumentChartItem struct {
Window uiinterfaces.Window
// contains filtered or unexported fields
}
func NewDocumentChartItem ¶
func NewDocumentChartItem(window uiinterfaces.Window, chart *timechart.TimeChart, area *timechart.Area, name string, client *client.Client) *DocumentChartItem
func (*DocumentChartItem) Clean ¶
func (c *DocumentChartItem) Clean()
func (*DocumentChartItem) Dispose ¶
func (c *DocumentChartItem) Dispose()
func (*DocumentChartItem) GetLoadingDiapasons ¶ added in v1.0.6
func (c *DocumentChartItem) GetLoadingDiapasons() []timechart.LoadingDiapason
func (*DocumentChartItem) GetUOM ¶ added in v1.0.6
func (c *DocumentChartItem) GetUOM() string
type DocumentChartValues ¶
type DocumentChartValues struct {
// contains filtered or unexported fields
}
func (*DocumentChartValues) Dispose ¶
func (c *DocumentChartValues) Dispose()
type LoadingTask ¶
type LoadingTask struct {
// contains filtered or unexported fields
}
type WidgetCharts ¶
type WidgetCharts struct {
uicontrols.Panel
// contains filtered or unexported fields
}
func NewWidgetCharts ¶
func NewWidgetCharts(parent uiinterfaces.Widget, client *client.Client) *WidgetCharts
func (*WidgetCharts) AddItem ¶ added in v1.0.6
func (c *WidgetCharts) AddItem(id string)
func (*WidgetCharts) Dispose ¶
func (c *WidgetCharts) Dispose()
func (*WidgetCharts) IsActive ¶ added in v1.0.5
func (c *WidgetCharts) IsActive() bool
func (*WidgetCharts) Load ¶
func (c *WidgetCharts) Load(data []byte)
func (*WidgetCharts) OnInit ¶
func (c *WidgetCharts) OnInit()
func (*WidgetCharts) Save ¶
func (c *WidgetCharts) Save() []byte
func (*WidgetCharts) SetDataItems ¶
func (c *WidgetCharts) SetDataItems(items []string)
func (*WidgetCharts) SetEdit ¶
func (c *WidgetCharts) SetEdit(editing bool)
func (*WidgetCharts) SetIsActive ¶ added in v1.0.5
func (c *WidgetCharts) SetIsActive(isActive bool)
func (*WidgetCharts) SetOnChartContextMenuNeed ¶
func (c *WidgetCharts) SetOnChartContextMenuNeed(OnChartContextMenuNeed func(timeChart *timechart.TimeChart, area *timechart.Area, areaIndex int) uiinterfaces.Menu)
func (*WidgetCharts) SetShowQualities ¶
func (c *WidgetCharts) SetShowQualities(showQualities bool)
Click to show internal directories.
Click to hide internal directories.