com.supermap.mapping.dyn

Class DynamicChart

    • Constructor Detail

      • DynamicChart

        public DynamicChart()
        Constructor.
    • Method Detail

      • getAxesColor

        public int getAxesColor()
        Gets the color of coordinate axis.
        Returns:
        The color of coordinate axis.
      • setAxesColor

        public void setAxesColor(int axesColor)
        Sets the color of coordinate axis.
        Parameters:
        axesColor - The color of coordinate axis.
      • setChartSize

        public void setChartSize(int width,
                                 int height)
        Sets the chart size.
        Parameters:
        width - The chart width and the unit is pixel.
        height - The chart height and the unit is pixel.
      • getChartWidth

        public int getChartWidth()
        Gets the chart width.
        Returns:
        The chart width and the unit is pixel..
      • getChartHeight

        public int getChartHeight()
        Gets the chart height.
        Returns:
        The chart height and the unit is pixel..
      • getChartTile

        public java.lang.String getChartTile()
        Gets the title.
        Returns:
        Title
      • setChartTile

        public void setChartTile(java.lang.String chartTile,
                                 int color,
                                 float textSize)
        Sets the chart title, color and font size.
        Parameters:
        chartTile - Title
        color - Color.
        textSize - Font size.
      • setShowGrid

        public void setShowGrid(boolean isShowGridX,
                                boolean isShowGridY)
        Sets whether to display the grid.
        Parameters:
        isShowGridX - Whether to display the X axis grid.
        isShowGridY - Whether to display the Y axis grid.
      • isShowGridX

        public boolean isShowGridX()
        Gets whether to display the grid X.
        Returns:
        Whether to display the grid X.
      • isShowGridY

        public boolean isShowGridY()
        Gets whether to display the grid Y.
        Returns:
        Whether to display the grid Y.