Commit 364c05d3ef3125f466d1965b88bc823663618c1f

Authored by Luigi Serra
2 parents f748e9cf 3b831dc4

Merge branch 'master' of http://service.routetopa.eu:7480/WebCompDev/COMPONENTS

datalets/donutpie3dchart-datalet/demo/index.html
... ... @@ -12,7 +12,7 @@
12 12  
13 13 <script src="https://code.jquery.com/jquery-2.1.4.min.js" type="text/javascript"></script>
14 14 <link rel="import" href="../donutpie3dchart-datalet.html" />
15   -<donutpie3dchart-datalet data-url="https://data.issy.com/api/records/1.0/search?dataset=flux-rss-des-offres-demplois-a-issy-les-moulineaux&sort=published&facet=published&refine.published=2015"
  15 +<donutpie3dchart-datalet data-url="https://data.issy.com/api/records/1.0/search?dataset=flux-rss-des-offres-demplois-a-issy-les-moulineaux&sort=published&facet=published&refine.published=2015%2F10"
16 16 fields='["facet_groups,facets,facets,path","facet_groups,facets,facets,count"]'></donutpie3dchart-datalet>
17 17 </body>
18 18 </html>
... ...
datalets/donutpie3dchart-datalet/donutpie3dchart-datalet.html
... ... @@ -80,10 +80,7 @@ Example:
80 80 }
81 81 },
82 82 title: {
83   - text: ""
84   - },
85   - subtitle: {
86   - text: '3D Donut pie chart'
  83 + text: "" + this._component.title
87 84 },
88 85 plotOptions: {
89 86 pie: {
... ... @@ -128,7 +125,18 @@ Example:
128 125 behavior : {
129 126 type : Object,
130 127 value : {}
131   - }
  128 + },
  129 + /**
  130 + * It's the title of the chart
  131 + *
  132 + * @attribute title
  133 + * @type Strig
  134 + * @default ''
  135 + */
  136 + title: {
  137 + type: String,
  138 + value: ""
  139 + },
132 140 },
133 141  
134 142 /**
... ...
datalets/donutpie3dchart-datalet/donutpie3dchart-datalets.png renamed to datalets/donutpie3dchart-datalet/donutpie3dchart-datalet.png 100755 → 100644

50.5 KB

datalets/donutpie3dchart-datalet/info.xml 0 → 100644
  1 +<component>
  2 + <name>donutpie3dchart-datalet</name>
  3 + <attributes>
  4 + <attribute>
  5 + <name>data-url</name>
  6 + </attribute>
  7 + <attribute>
  8 + <name>fields</name>
  9 + </attribute>
  10 + </attributes>
  11 + <idm>
  12 + <inputs>
  13 + <input>
  14 + <name>Series</name>
  15 + <description>The chart series. Its values will be put on slice of each series.</description>
  16 + <scale>nominal</scale>
  17 + <role>domain</role>
  18 + <selection>11</selection>
  19 + </input>
  20 + <input>
  21 + <name>Size </name>
  22 + <description>The size for each series to create a concentric rings</description>
  23 + <scale>nominal</scale>
  24 + <role>domain</role>
  25 + <selection>11</selection>
  26 + </input>
  27 + <layouts>
  28 + <input>
  29 + <name>title</name>
  30 + <description>The label for the title of the chart</description>
  31 + </input>
  32 + </layouts>
  33 + </inputs>
  34 + </idm>
  35 +</component>
0 36 \ No newline at end of file
... ...
demo.html
... ... @@ -262,8 +262,10 @@
262 262 </template>
263 263 <script>
264 264  
265   - DEEP.deepUrl = "http://deep.routetopa.eu/DEEP/";
266   - DEEP.datasetsList = "http://deep.routetopa.eu/DEEP/datalets-list";
  265 + //DEEP.deepUrl = "http://deep.routetopa.eu/DEEP/";
  266 + //DEEP.datasetsList = "http://deep.routetopa.eu/DEEP/datalets-list";
  267 + DEEP.deepUrl = "http://192.168.186.137/DEEalerProvider/DEEP/";
  268 + DEEP.datasetsList = "http://192.168.186.137/DEEalerProvider/DEEP/datalets-list";
267 269  
268 270 DEEP.Datasets = {
269 271 names:[
... ... @@ -281,7 +283,9 @@
281 283 'Ireland - Dun Laoghaire-Rathdown County Council Planning Application 2008-2014',
282 284 'Ireland - Fingal Council Planning Applications for last 7 years',
283 285 'Ireland - Planning Register',
284   - 'Ireland - Fingal Development Plan 2011-2017 Record of Protected Structures'
  286 + 'Ireland - Fingal Development Plan 2011-2017 Record of Protected Structures',
  287 + 'Bubble example',
  288 + 'Issy - 3d pie chart'
285 289 ],
286 290 urls: [
287 291 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=07843fc3-07e1-4c66-9be4-fed43ca4a26f',
... ... @@ -298,7 +302,9 @@
298 302 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=c479f061-9638-489d-ac55-0c68765548ff',
299 303 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=d29a477a-4734-43ef-8002-048c8640d441',
300 304 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=2b23f32d-e27e-4eef-af1e-27e05103df7d',
301   - 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=5ea813bc-fdf9-4edb-b3b1-0142b593d5c6'
  305 + 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=5ea813bc-fdf9-4edb-b3b1-0142b593d5c6',
  306 + 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=0cb600fc-19ad-4aaf-9794-1e6ea851840a',
  307 + "https://data.issy.com/api/records/1.0/search?dataset=flux-rss-des-offres-demplois-a-issy-les-moulineaux&sort=published&facet=published&refine.published=2015%2F10"
302 308 ]
303 309 };
304 310  
... ...