sensorweb-server-helgoland icon indicating copy to clipboard operation
sensorweb-server-helgoland copied to clipboard

Add working example of line chart rendering hints to default values

Open EHJ-52n opened this issue 9 years ago • 0 comments

The default rendering hints in timeseries-web/src/main/resources/config-rendering-hints.json should contain working examples for the second available style "line", too. In addition, links to the documentation should be contained.

The links:

  • http://52north.github.io/timeseries-api/#styles
  • http://52north.github.io/timeseries-api/#nonpublic-timeseries

The style example:

{
    "phenomenonStyles": {
        "phe_39b6c8bd9f552c18f2b407c9268cf557": {
            "style": {
                "chartType": "line",
                "properties": {
                    "type": "solid",
                    "width": 1,
                    "color": "#0000ff"
                }
            }
        }
    },
    "timeseriesStyles": {
        "ts_20775c426a66cbd0107665fcdfd28d44": {
            "style": {
                "chartType": "line",
                "properties": {
                    "type": "dashed",
                    "width": 2,
                    "color": "#0000ff"
                }
            }
        }
    }
}

EHJ-52n avatar Oct 15 '14 12:10 EHJ-52n