com.stimulsoft.webdesigner.helper
Class StiChartHelper

java.lang.Object
  extended by com.stimulsoft.webdesigner.helper.StiChartHelper

public class StiChartHelper
extends Object

Copyright Stimulsoft


Constructor Summary
StiChartHelper()
           
 
Method Summary
static void addConstantLineOrStrip(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void addSeries(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void constantLineOrStripMove(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static Hashtable<String,Object> getArea(StiChart chart)
           
static Hashtable<String,Object> getAreaProperties(StiArea area)
           
static Hashtable<String,Object> getChartProperties(StiChart chart)
           
static String getChartSampleImage(StiChart chart, int width, int height, float zoom)
           
static List<Hashtable<String,Object>> getConditions(StiChartConditionsCollection conditions)
           
static Hashtable<String,Object> getConstantLineProperties(IStiConstantLines constantLine)
           
static List<Hashtable<String,Object>> getConstantLines(StiChart chart)
           
static List<Hashtable<String,Object>> getFilters(StiChartFiltersCollection filters)
           
static Hashtable<String,Object> getLabels(IStiSeriesLabels seriesLabels)
           
static void getLabelsContent(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static Hashtable<String,Object> getLabelsProperties(StiSeriesLabels labels)
           
static Hashtable<String,Object> getMainProperties(StiChart chart)
           
static Hashtable<String,Object> getSeries(IStiSeries series)
           
static List<Hashtable<String,Object>> getSeriesArray(StiChart chart)
           
static Hashtable<String,Object> getSeriesProperties(IStiSeries series)
           
static List<Hashtable<String,Object>> getStrips(StiChart chart)
           
static Hashtable<String,Object> getStripsProperties(IStiStrips strip)
           
static Hashtable<String,Object> getStyle(StiChart chart)
           
static void getStylesContent(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult, boolean forStylesControl)
           
static List<String> getTypesCollection(StiChart chart)
           
static void removeConstantLineOrStrip(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void removeSeries(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void seriesMove(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void setChartPropertyValue(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void setChartStyle(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void setContainerValue(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
static void setLabelsType(StiReport report, Hashtable<String,Object> param, Hashtable<String,Object> callbackResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiChartHelper

public StiChartHelper()
Method Detail

getChartProperties

public static Hashtable<String,Object> getChartProperties(StiChart chart)
                                                   throws ParserConfigurationException,
                                                          IOException,
                                                          TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

getSeriesArray

public static List<Hashtable<String,Object>> getSeriesArray(StiChart chart)

getSeries

public static Hashtable<String,Object> getSeries(IStiSeries series)

getConditions

public static List<Hashtable<String,Object>> getConditions(StiChartConditionsCollection conditions)

getFilters

public static List<Hashtable<String,Object>> getFilters(StiChartFiltersCollection filters)

getTypesCollection

public static List<String> getTypesCollection(StiChart chart)

getArea

public static Hashtable<String,Object> getArea(StiChart chart)

getStyle

public static Hashtable<String,Object> getStyle(StiChart chart)

getMainProperties

public static Hashtable<String,Object> getMainProperties(StiChart chart)

getConstantLines

public static List<Hashtable<String,Object>> getConstantLines(StiChart chart)

getConstantLineProperties

public static Hashtable<String,Object> getConstantLineProperties(IStiConstantLines constantLine)

getStrips

public static List<Hashtable<String,Object>> getStrips(StiChart chart)

getStripsProperties

public static Hashtable<String,Object> getStripsProperties(IStiStrips strip)

getLabels

public static Hashtable<String,Object> getLabels(IStiSeriesLabels seriesLabels)

getSeriesProperties

public static Hashtable<String,Object> getSeriesProperties(IStiSeries series)
                                                    throws NoSuchMethodException,
                                                           SecurityException,
                                                           IllegalAccessException,
                                                           IllegalArgumentException,
                                                           InvocationTargetException
Throws:
NoSuchMethodException
SecurityException
IllegalAccessException
IllegalArgumentException
InvocationTargetException

getAreaProperties

public static Hashtable<String,Object> getAreaProperties(StiArea area)
                                                  throws NoSuchMethodException,
                                                         SecurityException,
                                                         IllegalAccessException,
                                                         IllegalArgumentException,
                                                         InvocationTargetException
Throws:
NoSuchMethodException
SecurityException
IllegalAccessException
IllegalArgumentException
InvocationTargetException

getLabelsProperties

public static Hashtable<String,Object> getLabelsProperties(StiSeriesLabels labels)

getChartSampleImage

public static String getChartSampleImage(StiChart chart,
                                         int width,
                                         int height,
                                         float zoom)
                                  throws ParserConfigurationException,
                                         IOException,
                                         TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

addSeries

public static void addSeries(StiReport report,
                             Hashtable<String,Object> param,
                             Hashtable<String,Object> callbackResult)
                      throws ParserConfigurationException,
                             IOException,
                             TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

removeSeries

public static void removeSeries(StiReport report,
                                Hashtable<String,Object> param,
                                Hashtable<String,Object> callbackResult)
                         throws ParserConfigurationException,
                                IOException,
                                TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

seriesMove

public static void seriesMove(StiReport report,
                              Hashtable<String,Object> param,
                              Hashtable<String,Object> callbackResult)
                       throws ParserConfigurationException,
                              IOException,
                              TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

addConstantLineOrStrip

public static void addConstantLineOrStrip(StiReport report,
                                          Hashtable<String,Object> param,
                                          Hashtable<String,Object> callbackResult)
                                   throws ParserConfigurationException,
                                          IOException,
                                          TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

removeConstantLineOrStrip

public static void removeConstantLineOrStrip(StiReport report,
                                             Hashtable<String,Object> param,
                                             Hashtable<String,Object> callbackResult)
                                      throws ParserConfigurationException,
                                             IOException,
                                             TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

constantLineOrStripMove

public static void constantLineOrStripMove(StiReport report,
                                           Hashtable<String,Object> param,
                                           Hashtable<String,Object> callbackResult)
                                    throws ParserConfigurationException,
                                           IOException,
                                           TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

getLabelsContent

public static void getLabelsContent(StiReport report,
                                    Hashtable<String,Object> param,
                                    Hashtable<String,Object> callbackResult)
                             throws InstantiationException,
                                    IllegalAccessException,
                                    ParserConfigurationException,
                                    IOException,
                                    TransformerException
Throws:
InstantiationException
IllegalAccessException
ParserConfigurationException
IOException
TransformerException

getStylesContent

public static void getStylesContent(StiReport report,
                                    Hashtable<String,Object> param,
                                    Hashtable<String,Object> callbackResult,
                                    boolean forStylesControl)
                             throws InstantiationException,
                                    IllegalAccessException,
                                    ParserConfigurationException,
                                    IOException,
                                    TransformerException
Throws:
InstantiationException
IllegalAccessException
ParserConfigurationException
IOException
TransformerException

setLabelsType

public static void setLabelsType(StiReport report,
                                 Hashtable<String,Object> param,
                                 Hashtable<String,Object> callbackResult)
                          throws ParserConfigurationException,
                                 IOException,
                                 TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

setChartStyle

public static void setChartStyle(StiReport report,
                                 Hashtable<String,Object> param,
                                 Hashtable<String,Object> callbackResult)
                          throws ParserConfigurationException,
                                 IOException,
                                 TransformerException
Throws:
ParserConfigurationException
IOException
TransformerException

setChartPropertyValue

public static void setChartPropertyValue(StiReport report,
                                         Hashtable<String,Object> param,
                                         Hashtable<String,Object> callbackResult)
                                  throws Exception
Throws:
Exception

setContainerValue

public static void setContainerValue(StiReport report,
                                     Hashtable<String,Object> param,
                                     Hashtable<String,Object> callbackResult)
                              throws JSONException,
                                     ParserConfigurationException,
                                     IOException,
                                     TransformerException
Throws:
JSONException
ParserConfigurationException
IOException
TransformerException


Copyright © 2017 Stimulsoft. All Rights Reserved.