<?xml version="1.0" encoding="UTF-8" ?>
<Module>
    <ModulePrefs title="Bar Chart"
                 author="WSO2 Gadget Server"
                 height="230"
                 scrolling="true"
                 category="Google"
                 tags="charts,bar,visualization,data,template"
                 description="A generic Bar Chart gadget, that takes a json datasource as an input. It can be configured to fetch data in defined intervals. This gadget can be used to create dashboards with statistical data. 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="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>
    <!--UserPref name="options"
              display_name="Chart Options"
              default_value="/portal/gadgets/bar-chart/js/options-bar.js">
    </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>
    <Content type="html">
        <![CDATA[
 <html>
 <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Bar Chart</title>
	<link rel="stylesheet" href="css/open_sans.css" type="text/css" >
	<link href="css/flot-graph.css" rel="stylesheet" type="text/css">
	<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="css/custom.css" type="text/css" >
	<script language="javascript" type="text/javascript" src="js/chart-options.js"></script>
	<script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script>
	<script language="javascript" type="text/javascript" src="js/jquery.js"></script>
	<script language="javascript" type="text/javascript" src="js/bootstrap.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/jquery.flot.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/jquery.flot.selection.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/jquery.flot.resize.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/jquery.flot.tickrotor.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/jquery.flot.axislabels.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/jquery.flot.orderBars.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/jquery.flot.time.js"></script>
	<script language="javascript" type="text/javascript" src="js/flot/flot-chart-core.js"></script>

</head>
<body>
			<div id="placeholder" class="demo-placeholder" style="height:90%"></div>
</body>
</html>

    ]]>
    </Content>
</Module>


