
Public Member Functions | |
| void | addDataModel (ChartDataModel model) |
| void | drawData (Chartics chartics, ChartUpdateRequest request) |
| java.awt.Rectangle | getChartRectangle () |
| ChartService | getChartService () |
| ChartDataModel | getDataModel (int index) |
| int | getDataModelCount () |
| ChartDataModel[] | getDataModels () |
| Point | getMaxValue () |
| Point | getMinValue () |
| java.awt.Dimension | getSize () |
| void | removeDataModel (ChartDataModel model) |
| void | setChartService (ChartService newChartService) |
| void | setSize (java.awt.Dimension newDrawSize) |
Chart area interface describes container that holds chart models and draws them on chart area. Interface receives chart relevant information through ChartSerivce, which is set to the chart area, when is added to the chart.
| void com::cosylab::gui::components::r2::chart::ChartArea::addDataModel | ( | ChartDataModel | model | ) |
Chart user can add chart model to this chart area.
| model | si.ijs.anka.databush.utilities.ChartDataModel model tobe added. |
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea, com::cosylab::gui::components::r2::chart::FancyChartArea, com::cosylab::gui::components::r2::chart::HistoryTrendChartArea, and com::cosylab::gui::components::r2::chart::TrendChartArea.
Referenced by com::cosylab::gui::components::r2::chart::AbstractChartDecorator::applyModels(), com::cosylab::gui::components::r2::chart::BaseChart::main(), com::cosylab::gui::components::r2::chart::demo::ChartDemo::startDefaultChart(), com::cosylab::gui::components::r2::chart::demo::ChartDemo::startFancyChart(), com::cosylab::gui::components::r2::chart::demo::ChartDemo::startHistoryTrendChart(), and com::cosylab::gui::components::r2::chart::demo::ChartDemo::startSimpleTrendChart().
| void com::cosylab::gui::components::r2::chart::ChartArea::drawData | ( | Chartics | chartics, | |
| ChartUpdateRequest | request | |||
| ) |
Thsi chart ares draws contined chart series to provided graphic context. Pixel with coordinate (0,0) is located in top left corner.
| g | java.awt.Graphics graphic context on which chart series to be drawn. |
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea, com::cosylab::gui::components::r2::chart::FancyChartArea, and com::cosylab::gui::components::r2::chart::TrendChartArea.
Referenced by com::cosylab::gui::components::r2::chart::BaseChart::drawData().
| java.awt.Rectangle com::cosylab::gui::components::r2::chart::ChartArea::getChartRectangle | ( | ) |
Returns rectangle within which chart is drawn. Coordinats x and y are indicate rectangle location. Rectangle must fit in to reagon determined by size.
java.awt.Rectangle reagion whitin size this ChartArea draws chart. Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
Referenced by com::cosylab::gui::components::r2::chart::BaseChart::getChartDisplayablePointCount(), and com::cosylab::gui::components::r2::chart::BaseChart::updateImageBuffer().
| ChartService com::cosylab::gui::components::r2::chart::ChartArea::getChartService | ( | ) |
Getter for ChartService.
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
| ChartDataModel com::cosylab::gui::components::r2::chart::ChartArea::getDataModel | ( | int | index | ) |
Returns chart model at index position.
com.cosylab.gui.chart.ChartDataModel model at index position | index | int |
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
| int com::cosylab::gui::components::r2::chart::ChartArea::getDataModelCount | ( | ) |
Number of contained data models
int number ofcontained data models Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
| ChartDataModel [] com::cosylab::gui::components::r2::chart::ChartArea::getDataModels | ( | ) |
Returns array of contained data models.
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
| Point com::cosylab::gui::components::r2::chart::ChartArea::getMaxValue | ( | ) |
Returns maximal point on current chart.
com.cosylab.gui.chart.Point maximal drawn point Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::updateCustomizer().
| Point com::cosylab::gui::components::r2::chart::ChartArea::getMinValue | ( | ) |
Returns minimal point on current chart.
com.cosylab.gui.chart.Point minimal drawn point Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::updateCustomizer().
| java.awt.Dimension com::cosylab::gui::components::r2::chart::ChartArea::getSize | ( | ) |
Getter for sizeset to chartarea by chart.
java.awt.Dimension size set to chart area by chart Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
| void com::cosylab::gui::components::r2::chart::ChartArea::removeDataModel | ( | ChartDataModel | model | ) |
Removes chart modelfrom this chart area.
| model | si.ijs.anka.databush.utilities.ChartDataModel |
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea.
| void com::cosylab::gui::components::r2::chart::ChartArea::setChartService | ( | ChartService | newChartService | ) |
Chart sets chart service to this chart area.
| newChartService | con.cosylab.gui.chart.ChartService |
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea, and com::cosylab::gui::components::r2::chart::HistoryTrendChartArea.
Referenced by com::cosylab::gui::components::r2::chart::BaseChart::getChartArea(), com::cosylab::gui::components::r2::chart::BaseChart::getChartStyleManager(), com::cosylab::gui::components::r2::chart::BaseChart::getViewManager(), com::cosylab::gui::components::r2::chart::BaseChart::setChartArea(), com::cosylab::gui::components::r2::chart::BaseChart::setChartStyleManager(), and com::cosylab::gui::components::r2::chart::BaseChart::setViewManager().
| void com::cosylab::gui::components::r2::chart::ChartArea::setSize | ( | java.awt.Dimension | newDrawSize | ) |
Chart uses this method to set size of avaliable space to the chart.
| newDrawSize | java.awt.Dimension |
Implemented in com::cosylab::gui::components::r2::chart::DefaultChartArea, com::cosylab::gui::components::r2::chart::HistoryTrendChartArea, and com::cosylab::gui::components::r2::chart::TrendChartArea.
Referenced by com::cosylab::gui::components::r2::chart::BaseChart::updateLayout().
1.6.2