<?xml version="1.0" encoding="UTF-8" ?>
<Module>
    <ModulePrefs title="Line Chart" author="WSO2 Gadget Server"
                 height="230" scrolling="true" tags="table,visualization,data,analytics"
                 description="A generic data table gadget. This gadget can render data tables with one/two rows of header. This gadget can be reused as an iframe in any web page as it is self contained">
        <Require feature="pubsub-2">
            <Param name="topics">
                <![CDATA[
                <Topic title="" name="wso2.gadgets.charts.timeRangeChange"
                description="time range for filtering has been changed" type="object"
                subscribe="true"/>

                <Topic title="" name="wso2.gadgets.charts.ipChange"
                description="ip for filtering has been changed" type="string"
                subscribe="true"/>
                ]]>
            </Param>
        </Require>
    </ModulePrefs>
    <UserPref name="dataSource"
              display_name="Data Source"
              default_value="https://localhost:9453/dashboard/gadgets/bar-chart/datasource/dataFile4.jag">
    </UserPref>
    <UserPref name="appname"
              display_name="Web App Name"
              default_value="">
    </UserPref>
    <UserPref name="updateGraph" display_name="Update Interval (s)"
              default_value="No">
    </UserPref>
    <UserPref name="appStatType"
              display_name="App Stat Type"
              default_value="request">
    </UserPref>
    <UserPref name="startTime"
              display_name="Start time"
              default_value="">
    </UserPref>
    <UserPref name="endTime"
              display_name="End time"
              default_value="">
    </UserPref>
    <UserPref name="node"
              display_name="Node IP"
              default_value="">
    </UserPref>
    <Content type="html">
        <![CDATA[
 <html>
 <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Location</title>
	<link rel="stylesheet" href="css/open_sans.css" type="text/css" >
	<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
	<link href="css/jquery.dataTables.css" rel="stylesheet" type="text/css">
	<link href="css/dataTables.bootstrap.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="css/custom.css" type="text/css" >
	<script language="javascript" type="text/javascript" src="js/jquery.js"></script>
	<script language="javascript" type="text/javascript" src="js/bootstrap.min.js"></script>
	<script language="javascript" type="text/javascript" src="js/jquery.dataTables.js"></script>
	<script language="javascript" type="text/javascript" src="js/moment.js"></script>
	<script language="javascript" type="text/javascript" src="js/data-table.js"></script>
	<script language="javascript" type="text/javascript" src="js/handlebars-v2.0.0.js"></script>
    <script language="javascript" type="text/javascript" src="js/dataTables.bootstrap.js"></script>
</head>

<body>
	<div id="placeholder" class="demo-placeholder">
        <script id="table-template" type="text/x-handlebars-template">
	        <table cellpadding="0" cellspacing="0" border="0" class="display" id="table" style="width: 100%">
	            <thead>
                    {{#each this}}
	                    <tr>
                            {{#each this}}
                                {{{generateHeadingTag this}}}
                            {{/each}}
	                    </tr>
	                {{/each}}
	            </thead>
	            <tbody></tbody>
	        </table>
	    </script>
	</div>
</body>
</html>
    ]]>
    </Content>
</Module>


