Currently, some time series graph properties are hard-coded. For example, default colors for time series are chosen based on an array of standard colors. If it is desired to coordinate TSTool time series product (tsp) file (or other information product configuration) with other tools such as web application graphing tools, then it would be good to not hard-code such properties in multiple places such as TSTool and web application code. Instead, a new property could be defined at "subproduct" level to describe the color chooser. If it requires coding in more than one place, general code can be developed, such as getColorForTimeSeries(...). A similar approach could be taken to specify symbols and other properties. It may also make sense to have a color chooser that is based on the data type. There are many data types, so it could be an issue to predefine colors without conflicts and ambiguities.
This is a high priority mainly in order to allow TSTool-generated property files to be used by web applications to produce similar graphs.
Currently, some time series graph properties are hard-coded. For example, default colors for time series are chosen based on an array of standard colors. If it is desired to coordinate TSTool time series product (tsp) file (or other information product configuration) with other tools such as web application graphing tools, then it would be good to not hard-code such properties in multiple places such as TSTool and web application code. Instead, a new property could be defined at "subproduct" level to describe the color chooser. If it requires coding in more than one place, general code can be developed, such as
getColorForTimeSeries(...)
. A similar approach could be taken to specify symbols and other properties. It may also make sense to have a color chooser that is based on the data type. There are many data types, so it could be an issue to predefine colors without conflicts and ambiguities.This is a high priority mainly in order to allow TSTool-generated property files to be used by web applications to produce similar graphs.