# Path: pive/visualization/defaults.py

# 
# Path: pive/visualization/basevisualization.py
# class BaseVisualization:
#     def __init__(self):
#     def set_div_hook(self, div_hook):
#     def get_js_code(self):
#     def get_json_dataset(self):
#     def set_title(self, title):
#     def set_labels(self, labels):
#     def set_dataset(self, dataset):
#     def set_chart_colors(self, colors):
#     def generate_visualization_dataset(self, dataset):
#     def write_dataset_file(self, dataset, destination_url, filename):
#     def create_css(self, template):
#     def create_html(self, template):
#     def create_js(self, template, dataset_url):
#     def write_file(self, output, destination_url, filename):
#     def create_visualization_files(self, destination_url):
#     def set_height(self, height):
#     def set_width(self, width):
#     def set_dimension(self, width, height):
#     def load_template_file(self, template_url):
# 
# Path: pive/visualization/viewportvisualization.py
# class ViewportVisualization:
# 	def __init__(self):
# 	def setIconProperties(self, iconwidth, iconheight, iconcolor, iconhighlight):
# 	def setJumplength(self, jumplength):
# 	def setViewport(self, viewport):
# 
# Path: pive/visualization/customscalesvisualization.py
# class CustomScalesVisualization:
# 	def __init__(self):
# 	def setScales(self, scales):


import jinja2
import os
import json
from pive.visualization import defaults as default
from pive.visualization import basevisualization as bv
from pive.visualization import viewportvisualization as vv
from pive.visualization import customscalesvisualization as csv
        # Initializing the inherited pseudo-interfaces.
        bv.BaseVisualization.__init__(self)
        csv.CustomScalesVisualization.__init__(self)
        vv.ViewportVisualization.__init__(self)

        # Metadata
        self._title = 'linechart'
        self.__template_name = 'linechart'
        self.__dataset = dataset
        realpath = os.path.dirname(os.path.realpath(__file__))
        self.__template_url = '%s%s' % (realpath, default.template_path)
        self.__datakeys = []
        self.__version = default.p_version

        # Visualization properties.
        self.__width = width
        self.__height = height
        self.__padding = padding
        self.__viewport = viewport
        self.__jumplength = jumplength
        self.__xlabel = default.xlabel
        self.__ylabel = default.ylabel
        self.__label_size = default.label_size

        if times:
            self.__scales = default.timescales
        else:
            self.__scales = default.scales

        self.__timelabel = default.timelabel

# Path: pive/visualization/defaults.py

# 
# Path: pive/visualization/basevisualization.py
# class BaseVisualization:
#     def __init__(self):
#     def set_div_hook(self, div_hook):
#     def get_js_code(self):
#     def get_json_dataset(self):
#     def set_title(self, title):
#     def set_labels(self, labels):
#     def set_dataset(self, dataset):
#     def set_chart_colors(self, colors):
#     def generate_visualization_dataset(self, dataset):
#     def write_dataset_file(self, dataset, destination_url, filename):
#     def create_css(self, template):
#     def create_html(self, template):
#     def create_js(self, template, dataset_url):
#     def write_file(self, output, destination_url, filename):
#     def create_visualization_files(self, destination_url):
#     def set_height(self, height):
#     def set_width(self, width):
#     def set_dimension(self, width, height):
#     def load_template_file(self, template_url):
# 
# Path: pive/visualization/viewportvisualization.py
# class ViewportVisualization:
# 	def __init__(self):
# 	def setIconProperties(self, iconwidth, iconheight, iconcolor, iconhighlight):
# 	def setJumplength(self, jumplength):
# 	def setViewport(self, viewport):
# 
# Path: pive/visualization/customscalesvisualization.py
# class CustomScalesVisualization:
# 	def __init__(self):
# 	def setScales(self, scales):


# Path: pive/visualization/linechart.py
import jinja2
import os
import json
from pive.visualization import defaults as default
from pive.visualization import basevisualization as bv
from pive.visualization import viewportvisualization as vv
from pive.visualization import customscalesvisualization as csv

        # Initializing the inherited pseudo-interfaces.
        bv.BaseVisualization.__init__(self)
        csv.CustomScalesVisualization.__init__(self)
        vv.ViewportVisualization.__init__(self)

        # Metadata
        self._title = 'linechart'
        self.__template_name = 'linechart'
        self.__dataset = dataset
        realpath = os.path.dirname(os.path.realpath(__file__))
        self.__template_url = '%s%s' % (realpath, default.template_path)
        self.__datakeys = []
        self.__version = default.p_version

        # Visualization properties.
        self.__width = width
        self.__height = height
        self.__padding = padding
        self.__viewport = viewport
        self.__jumplength = jumplength
        self.__xlabel = default.xlabel
        self.__ylabel = default.ylabel
        self.__label_size = default.label_size

        if times:
            self.__scales = default.timescales
        else:
            self.__scales = default.scales

        self.__timelabel = default.timelabel

        self.__timeformat = default.isotimeformat