Famcy/_items_/bar_chart/bar_chart.py
def generate_template_content(cls, fblock_type=None):
        """
        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        """
        return {
            "values": [{
                "x": [1995, 1996, 1997, 1998, 1999, 2000],
                "y": [219, 146, 112, 127, 124, 180],
                "color": "rgb(55, 83, 109)"
            },
            {
                "x": [1995, 1996, 1997, 1998, 1999, 2000],
                "y": [200, 246, 132, 120, 198, 110],
                "color": "rgb(55, 83, 109)"
            }],
            "labels": ["bar1", "bar2"],
            "title": "bar_chart",
            "xy_axis_title": ["x_title", "y_title"],
            "size": [500, 500]
        }

        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        
This is the function that
returns the template content
for the given fblock.
Return a content dictionary
This is the function that returns the template content for the given fblock . Return a content dictionary
def generate_template_content(cls, fblock_type=None):
        return {
            "values": [{
                "x": [1995, 1996, 1997, 1998, 1999, 2000],
                "y": [219, 146, 112, 127, 124, 180],
                "color": "rgb(55, 83, 109)"
            },
            {
                "x": [1995, 1996, 1997, 1998, 1999, 2000],
                "y": [200, 246, 132, 120, 198, 110],
                "color": "rgb(55, 83, 109)"
            }],
            "labels": ["bar1", "bar2"],
            "title": "bar_chart",
            "xy_axis_title": ["x_title", "y_title"],
            "size": [500, 500]
        }
def generate_template_content ( cls , fblock_type = None ) : return { "values" : [ { "x" : [ 1995 , 1996 , 1997 , 1998 , 1999 , 2000 ] , "y" : [ 219 , 146 , 112 , 127 , 124 , 180 ] , "color" : "rgb(55, 83, 109)" } , { "x" : [ 1995 , 1996 , 1997 , 1998 , 1999 , 2000 ] , "y" : [ 200 , 246 , 132 , 120 , 198 , 110 ] , "color" : "rgb(55, 83, 109)" } ] , "labels" : [ "bar1" , "bar2" ] , "title" : "bar_chart" , "xy_axis_title" : [ "x_title" , "y_title" ] , "size" : [ 500 , 500 ] }
This is the function that
returns the template content
for the given fblock.
This is the function that returns the template content for the given fblock .
"""
        This is the function that
        returns the template content 
        for the given fblock. 
        - Return a content dictionary
        """
cls
fblock_type