|
1 | 1 | <cfg name="report"> |
2 | 2 |
|
3 | 3 | <connections> |
4 | | - <add name="input" provider="sqlserver" database="Junk" /> |
| 4 | + <add name="orchard" /> |
5 | 5 | </connections> |
6 | 6 |
|
7 | 7 | <actions> |
8 | 8 | <add name="change-color" description="Change Color" modal="true" /> |
9 | 9 | </actions> |
10 | 10 |
|
11 | 11 | <entities> |
12 | | - <add name="SacramentoCrime"> |
| 12 | + <add name="sacramento_crime" input="orchard"> |
13 | 13 | <filter> |
14 | 14 | </filter> |
15 | 15 | <fields> |
16 | | - <add name="Id" type="int" primary-key="true" geo="id" /> |
| 16 | + <add name="id" type="int" primary-key="true" geo="id" /> |
17 | 17 | <add name="address" parameter="search" /> |
18 | 18 | <add name="district" length="2" parameter="facet" /> |
19 | 19 | <add name="beat" length="11" parameter="facet" /> |
|
26 | 26 | <add name="dayofweek" length="12" output="false" parameter="facet" /> |
27 | 27 | <add name="hour" length="2" output="false" parameter="facet" /> |
28 | 28 | <add name="cdatetime" type="datetime" label="Date" /> |
29 | | - <add name="geojson-color" output="false" parameter="facet" /> |
| 29 | + <add name="geojson_color" output="false" parameter="facet" /> |
30 | 30 | <add name="latitude" type="double" output="false" geo="latitude" /> |
31 | 31 | <add name="longitude" type="double" output="false" geo="longitude" /> |
32 | 32 | </fields> |
33 | 33 | <calculated-fields> |
34 | 34 |
|
35 | 35 | <!-- bug in geojson provider? you have to use "marker-color" field to affect dots on map --> |
36 | 36 | <!-- also have to change map color field to marker-color --> |
37 | | - <add name="marker-color" t="copy(geojson-color)" output="false" geo="property" /> |
| 37 | + <add name="marker-color" t="copy(geojson_color)" output="false" geo="property" /> |
38 | 38 |
|
39 | 39 | <add name="Color" |
40 | 40 | raw="true" |
41 | | - t='format(<span style="height: 15px; width: 15px; background-color: {geojson-color}; border-radius: 50%; display: inline-block; margin-bottom: -2px;"></span> {geojson-color})' /> |
| 41 | + t='format(<span style="height: 15px; width: 15px; background-color: {geojson_color}; border-radius: 50%; display: inline-block; margin-bottom: -2px;"></span> {geojson_color})' /> |
42 | 42 |
|
43 | 43 | <add name="FluidTest" |
44 | 44 | label="Fluid Test" |
|
58 | 58 | geo="property" |
59 | 59 | t='razor(Copy that, we got a @Model.ucr_ncic_code in progress at @Model.address)' /> |
60 | 60 |
|
61 | | - <add name="BatchValue" t="copy(Id)" type="int" /> |
| 61 | + <add name="BatchValue" t="copy(id)" type="int" /> |
62 | 62 | </calculated-fields> |
63 | 63 | </add> |
64 | 64 | </entities> |
|
0 commit comments