EnergyUsageGasWaterGraph.rdlx 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition">
  2. <dd:Name xmlns:dd="http://schemas.datadynamics.com/reporting/2005/02/reportdefinition">EnergyUsageGasWaterGraph.rdlx</dd:Name>
  3. <Body>
  4. <ColumnSpacing>0.2cm</ColumnSpacing>
  5. <Height>5.7cm</Height>
  6. <ReportItems>
  7. <dd:DVChart Name="Chart1" xmlns:dd="http://schemas.datadynamics.com/reporting/2005/02/reportdefinition">
  8. <DataSetName>Graph</DataSetName>
  9. <Height>5.3562cm</Height>
  10. <DisplayTypeSelector>false</DisplayTypeSelector>
  11. <Left>0.2cm</Left>
  12. <Style>
  13. <FontSize>8pt</FontSize>
  14. </Style>
  15. <Header>
  16. <Style>
  17. <FontSize>8pt</FontSize>
  18. <PaddingBottom>5pt</PaddingBottom>
  19. <PaddingLeft>10pt</PaddingLeft>
  20. <PaddingRight>2pt</PaddingRight>
  21. <PaddingTop>4pt</PaddingTop>
  22. </Style>
  23. <Text>
  24. <Style>
  25. <FontFamily>맑은 고딕</FontFamily>
  26. <FontSize>8pt</FontSize>
  27. </Style>
  28. </Text>
  29. <HAlign>Left</HAlign>
  30. <Title>=Fields!Title.Value</Title>
  31. </Header>
  32. <Footer>
  33. <Style>
  34. <FontSize>8pt</FontSize>
  35. <PaddingBottom>4pt</PaddingBottom>
  36. <PaddingLeft>2pt</PaddingLeft>
  37. <PaddingRight>2pt</PaddingRight>
  38. <PaddingTop>2pt</PaddingTop>
  39. </Style>
  40. <Text>
  41. <Style>
  42. <FontSize>8pt</FontSize>
  43. </Style>
  44. </Text>
  45. </Footer>
  46. <Bar>
  47. <TopWidth>0.55</TopWidth>
  48. <BottomWidth>0.55</BottomWidth>
  49. <Width>0.55</Width>
  50. </Bar>
  51. <PlotArea>
  52. <Style>
  53. <FontSize>8pt</FontSize>
  54. <PaddingBottom>2pt</PaddingBottom>
  55. <PaddingLeft>2pt</PaddingLeft>
  56. <PaddingRight>2pt</PaddingRight>
  57. <PaddingTop>2pt</PaddingTop>
  58. </Style>
  59. <Axes>
  60. <Axis>
  61. <AxisLine>
  62. <Style>
  63. <FontSize>8pt</FontSize>
  64. <BorderStyle>
  65. <Default>Solid</Default>
  66. </BorderStyle>
  67. </Style>
  68. </AxisLine>
  69. <Labels>
  70. <Style>
  71. <FontSize>8pt</FontSize>
  72. </Style>
  73. </Labels>
  74. <MajorGrid>
  75. <Style>
  76. <FontSize>8pt</FontSize>
  77. </Style>
  78. </MajorGrid>
  79. <MinorGrid>
  80. <Style>
  81. <FontSize>8pt</FontSize>
  82. </Style>
  83. </MinorGrid>
  84. <MajorTicks>
  85. <Style>
  86. <FontSize>8pt</FontSize>
  87. </Style>
  88. <TickMark>None</TickMark>
  89. <Size>4pt</Size>
  90. </MajorTicks>
  91. <MinorTicks>
  92. <Style>
  93. <FontSize>8pt</FontSize>
  94. </Style>
  95. <TickMark>None</TickMark>
  96. <Size>2pt</Size>
  97. </MinorTicks>
  98. <Plots>
  99. <Plot>Plot2</Plot>
  100. </Plots>
  101. <Position>None</Position>
  102. <Style>
  103. <FontSize>8pt</FontSize>
  104. </Style>
  105. <Text>
  106. <Style>
  107. <FontSize>8pt</FontSize>
  108. </Style>
  109. </Text>
  110. <Title>
  111. <Style>
  112. <FontSize>8pt</FontSize>
  113. <PaddingBottom>2pt</PaddingBottom>
  114. <PaddingLeft>2pt</PaddingLeft>
  115. <PaddingRight>2pt</PaddingRight>
  116. <PaddingTop>2pt</PaddingTop>
  117. </Style>
  118. <Caption>Category</Caption>
  119. </Title>
  120. <Type>X</Type>
  121. </Axis>
  122. <Axis>
  123. <AxisLine>
  124. <Style>
  125. <FontSize>8pt</FontSize>
  126. <BorderStyle>
  127. <Default>Solid</Default>
  128. </BorderStyle>
  129. </Style>
  130. </AxisLine>
  131. <Labels>
  132. <Style>
  133. <FontSize>8pt</FontSize>
  134. </Style>
  135. </Labels>
  136. <MajorGrid>
  137. <Style>
  138. <FontSize>8pt</FontSize>
  139. <BorderStyle>
  140. <Default>Solid</Default>
  141. </BorderStyle>
  142. </Style>
  143. </MajorGrid>
  144. <MinorGrid>
  145. <Style>
  146. <FontSize>8pt</FontSize>
  147. </Style>
  148. </MinorGrid>
  149. <MajorTicks>
  150. <Style>
  151. <FontSize>8pt</FontSize>
  152. </Style>
  153. <TickMark>None</TickMark>
  154. <Size>4pt</Size>
  155. </MajorTicks>
  156. <MinorTicks>
  157. <Style>
  158. <FontSize>8pt</FontSize>
  159. </Style>
  160. <TickMark>None</TickMark>
  161. <Size>2pt</Size>
  162. </MinorTicks>
  163. <Max>Fields!MaxValue.Value</Max>
  164. <Plots>
  165. <Plot>Plot2</Plot>
  166. </Plots>
  167. <Position>None</Position>
  168. <Style>
  169. <FontSize>8pt</FontSize>
  170. </Style>
  171. <Text>
  172. <Style>
  173. <FontSize>8pt</FontSize>
  174. </Style>
  175. </Text>
  176. <Title>
  177. <Style>
  178. <FontSize>8pt</FontSize>
  179. <PaddingBottom>2pt</PaddingBottom>
  180. <PaddingLeft>2pt</PaddingLeft>
  181. <PaddingRight>2pt</PaddingRight>
  182. <PaddingTop>2pt</PaddingTop>
  183. </Style>
  184. </Title>
  185. <Type>Y</Type>
  186. </Axis>
  187. <Axis>
  188. <AxisLine>
  189. <Style>
  190. <FontSize>8pt</FontSize>
  191. <BorderStyle>
  192. <Default>Solid</Default>
  193. </BorderStyle>
  194. </Style>
  195. </AxisLine>
  196. <Labels>
  197. <Style>
  198. <FontSize>8pt</FontSize>
  199. </Style>
  200. </Labels>
  201. <MajorGrid>
  202. <Style>
  203. <FontSize>8pt</FontSize>
  204. </Style>
  205. </MajorGrid>
  206. <MinorGrid>
  207. <Style>
  208. <FontSize>8pt</FontSize>
  209. </Style>
  210. </MinorGrid>
  211. <MajorTicks>
  212. <Style>
  213. <FontSize>8pt</FontSize>
  214. </Style>
  215. <TickMark>None</TickMark>
  216. <Size>4pt</Size>
  217. </MajorTicks>
  218. <MinorTicks>
  219. <Style>
  220. <FontSize>8pt</FontSize>
  221. </Style>
  222. <TickMark>None</TickMark>
  223. <Size>2pt</Size>
  224. </MinorTicks>
  225. <Plots>
  226. <Plot>Plot1</Plot>
  227. </Plots>
  228. <Style>
  229. <FontSize>8pt</FontSize>
  230. </Style>
  231. <Text>
  232. <Style>
  233. <FontSize>8pt</FontSize>
  234. </Style>
  235. </Text>
  236. <Title>
  237. <Style>
  238. <FontSize>8pt</FontSize>
  239. <PaddingBottom>2pt</PaddingBottom>
  240. <PaddingLeft>2pt</PaddingLeft>
  241. <PaddingRight>2pt</PaddingRight>
  242. <PaddingTop>2pt</PaddingTop>
  243. </Style>
  244. </Title>
  245. <Type>X</Type>
  246. </Axis>
  247. <Axis>
  248. <AxisLine>
  249. <Style>
  250. <FontSize>8pt</FontSize>
  251. <BorderStyle>
  252. <Default>Solid</Default>
  253. </BorderStyle>
  254. </Style>
  255. </AxisLine>
  256. <Labels>
  257. <Style>
  258. <FontSize>8pt</FontSize>
  259. </Style>
  260. </Labels>
  261. <MajorGrid>
  262. <Style>
  263. <FontSize>8pt</FontSize>
  264. <BorderStyle>
  265. <Default>Solid</Default>
  266. </BorderStyle>
  267. </Style>
  268. <Visible>true</Visible>
  269. </MajorGrid>
  270. <MinorGrid>
  271. <Style>
  272. <FontSize>8pt</FontSize>
  273. </Style>
  274. </MinorGrid>
  275. <MajorTicks>
  276. <Style>
  277. <FontSize>8pt</FontSize>
  278. </Style>
  279. <TickMark>None</TickMark>
  280. <Size>4pt</Size>
  281. </MajorTicks>
  282. <MinorTicks>
  283. <Style>
  284. <FontSize>8pt</FontSize>
  285. </Style>
  286. <TickMark>None</TickMark>
  287. <Size>2pt</Size>
  288. </MinorTicks>
  289. <Max>Fields!MaxValue.Value</Max>
  290. <Min>0</Min>
  291. <Plots>
  292. <Plot>Plot1</Plot>
  293. </Plots>
  294. <Style>
  295. <FontSize>8pt</FontSize>
  296. </Style>
  297. <Text>
  298. <Style>
  299. <FontSize>8pt</FontSize>
  300. </Style>
  301. </Text>
  302. <Title>
  303. <Style>
  304. <FontSize>8pt</FontSize>
  305. <PaddingBottom>2pt</PaddingBottom>
  306. <PaddingLeft>2pt</PaddingLeft>
  307. <PaddingRight>2pt</PaddingRight>
  308. <PaddingTop>2pt</PaddingTop>
  309. </Style>
  310. </Title>
  311. <Type>Y</Type>
  312. </Axis>
  313. </Axes>
  314. <Legends>
  315. <Legend>
  316. <Style>
  317. <FontSize>8pt</FontSize>
  318. <PaddingBottom>2pt</PaddingBottom>
  319. <PaddingLeft>2pt</PaddingLeft>
  320. <PaddingRight>2pt</PaddingRight>
  321. <PaddingTop>2pt</PaddingTop>
  322. </Style>
  323. <Title>
  324. <Style>
  325. <FontSize>8pt</FontSize>
  326. </Style>
  327. </Title>
  328. <Text>
  329. <Style>
  330. <FontSize>8pt</FontSize>
  331. </Style>
  332. </Text>
  333. <Position>Bottom</Position>
  334. <Type>Color</Type>
  335. </Legend>
  336. <Legend>
  337. <Style>
  338. <FontSize>8pt</FontSize>
  339. <PaddingBottom>2pt</PaddingBottom>
  340. <PaddingLeft>2pt</PaddingLeft>
  341. <PaddingRight>2pt</PaddingRight>
  342. <PaddingTop>2pt</PaddingTop>
  343. </Style>
  344. <Title>
  345. <Style>
  346. <FontSize>8pt</FontSize>
  347. </Style>
  348. <Caption>=Fields!LineName.Value</Caption>
  349. </Title>
  350. <Text>
  351. <Style>
  352. <FontSize>8pt</FontSize>
  353. </Style>
  354. </Text>
  355. <Position>Bottom</Position>
  356. <Type>Shape</Type>
  357. </Legend>
  358. <Legend>
  359. <Style>
  360. <FontSize>8pt</FontSize>
  361. <PaddingBottom>2pt</PaddingBottom>
  362. <PaddingLeft>2pt</PaddingLeft>
  363. <PaddingRight>2pt</PaddingRight>
  364. <PaddingTop>2pt</PaddingTop>
  365. </Style>
  366. <Title>
  367. <Style>
  368. <FontSize>8pt</FontSize>
  369. </Style>
  370. </Title>
  371. <Text>
  372. <Style>
  373. <FontSize>8pt</FontSize>
  374. </Style>
  375. </Text>
  376. <Type>Size</Type>
  377. </Legend>
  378. </Legends>
  379. </PlotArea>
  380. <Legend>
  381. <Style>
  382. <FontSize>8pt</FontSize>
  383. <PaddingBottom>2pt</PaddingBottom>
  384. <PaddingLeft>2pt</PaddingLeft>
  385. <PaddingRight>2pt</PaddingRight>
  386. <PaddingTop>2pt</PaddingTop>
  387. </Style>
  388. <Text>
  389. <Style>
  390. <FontSize>8pt</FontSize>
  391. </Style>
  392. </Text>
  393. <Title>
  394. <Style>
  395. <FontSize>8pt</FontSize>
  396. </Style>
  397. </Title>
  398. <Position>Bottom</Position>
  399. </Legend>
  400. <Palette>Office</Palette>
  401. <Plots>
  402. <Plot>
  403. <Type>Line</Type>
  404. <Name>Plot2</Name>
  405. <PlotChartType>Line</PlotChartType>
  406. <Config>
  407. <Style>
  408. <FontSize>8pt</FontSize>
  409. <BorderColor>
  410. <Default>Black</Default>
  411. </BorderColor>
  412. <BorderStyle>
  413. <Default>Solid</Default>
  414. </BorderStyle>
  415. </Style>
  416. <Symbols>
  417. <Style>
  418. <BackgroundColor>SteelBlue</BackgroundColor>
  419. <FontSize>8pt</FontSize>
  420. <BorderColor>
  421. <Default>Black</Default>
  422. </BorderColor>
  423. <BorderStyle>
  424. <Default>None</Default>
  425. </BorderStyle>
  426. <BorderWidth>
  427. <Default>1pt</Default>
  428. </BorderWidth>
  429. </Style>
  430. <Visible>true</Visible>
  431. </Symbols>
  432. <Text>
  433. <ConnectingLine>
  434. <Style>
  435. <FontSize>8pt</FontSize>
  436. </Style>
  437. </ConnectingLine>
  438. <Style>
  439. <FontSize>8pt</FontSize>
  440. </Style>
  441. </Text>
  442. <Tooltip />
  443. </Config>
  444. <Encodings>
  445. <Values>
  446. <Value>
  447. <Field fieldType="Simple">
  448. <Value>
  449. <FieldItem>=ToInt64(Fields!Value.Value)</FieldItem>
  450. </Value>
  451. </Field>
  452. </Value>
  453. </Values>
  454. <Category>
  455. <Field>
  456. <Value>
  457. <FieldItem>=Fields!Day.Value</FieldItem>
  458. </Value>
  459. </Field>
  460. <SortingField>=""</SortingField>
  461. </Category>
  462. <Color>
  463. <Field>
  464. <Value>
  465. <FieldItem>=Fields!LineName.Value</FieldItem>
  466. </Value>
  467. </Field>
  468. <Aggregate>List</Aggregate>
  469. </Color>
  470. <Shape>
  471. <Field>
  472. <Value />
  473. </Field>
  474. <Aggregate>None</Aggregate>
  475. </Shape>
  476. <Size>
  477. <Field>
  478. <Value />
  479. </Field>
  480. <Aggregate>None</Aggregate>
  481. </Size>
  482. </Encodings>
  483. </Plot>
  484. <Plot>
  485. <Type>Line</Type>
  486. <Name>Plot1</Name>
  487. <PlotChartType>Line</PlotChartType>
  488. <Config>
  489. <Style>
  490. <FontSize>8pt</FontSize>
  491. <BorderColor>
  492. <Default>Black</Default>
  493. </BorderColor>
  494. <BorderStyle>
  495. <Default>Solid</Default>
  496. </BorderStyle>
  497. </Style>
  498. <Symbols>
  499. <Style>
  500. <BackgroundColor>Peru</BackgroundColor>
  501. <FontSize>8pt</FontSize>
  502. <BorderColor>
  503. <Default>Black</Default>
  504. </BorderColor>
  505. <BorderStyle>
  506. <Default>None</Default>
  507. </BorderStyle>
  508. <BorderWidth>
  509. <Default>1pt</Default>
  510. </BorderWidth>
  511. </Style>
  512. <Visible>true</Visible>
  513. </Symbols>
  514. <Text>
  515. <ConnectingLine>
  516. <Style>
  517. <FontSize>8pt</FontSize>
  518. </Style>
  519. </ConnectingLine>
  520. <Style>
  521. <FontSize>8pt</FontSize>
  522. </Style>
  523. </Text>
  524. <Tooltip />
  525. </Config>
  526. <Encodings>
  527. <Values>
  528. <Value>
  529. <Field fieldType="Simple">
  530. <Value>
  531. <FieldItem>=ToInt64(Fields!LastValue.Value)</FieldItem>
  532. </Value>
  533. </Field>
  534. </Value>
  535. </Values>
  536. <Category>
  537. <Field>
  538. <Value>
  539. <FieldItem>=Fields!Day.Value</FieldItem>
  540. </Value>
  541. </Field>
  542. <SortingField>=""</SortingField>
  543. </Category>
  544. <Color>
  545. <Field>
  546. <Value>
  547. <FieldItem>=Fields!LineLastName.Value</FieldItem>
  548. </Value>
  549. </Field>
  550. <Aggregate>List</Aggregate>
  551. </Color>
  552. <Shape>
  553. <Field>
  554. <Value />
  555. </Field>
  556. <Aggregate>None</Aggregate>
  557. </Shape>
  558. <Size>
  559. <Field>
  560. <Value />
  561. </Field>
  562. <Aggregate>None</Aggregate>
  563. </Size>
  564. </Encodings>
  565. </Plot>
  566. </Plots>
  567. <Top>0.2cm</Top>
  568. <Width>17.3cm</Width>
  569. <ZIndex>1</ZIndex>
  570. </dd:DVChart>
  571. </ReportItems>
  572. </Body>
  573. <BottomMargin>2.5cm</BottomMargin>
  574. <LeftMargin>2.5cm</LeftMargin>
  575. <PageHeight>29.7cm</PageHeight>
  576. <PageWidth>21cm</PageWidth>
  577. <RightMargin>2.5cm</RightMargin>
  578. <TopMargin>2.5cm</TopMargin>
  579. <Width>17.8cm</Width>
  580. <ReportParameters>
  581. <ReportParameter Name="SiteId">
  582. <DataType>String</DataType>
  583. <Prompt>SiteId</Prompt>
  584. <DefaultValue>
  585. <Values>
  586. <Value>115</Value>
  587. </Values>
  588. </DefaultValue>
  589. </ReportParameter>
  590. <ReportParameter Name="Month">
  591. <DataType>String</DataType>
  592. <Prompt>Month</Prompt>
  593. <DefaultValue>
  594. <Values>
  595. <Value>7</Value>
  596. </Values>
  597. </DefaultValue>
  598. </ReportParameter>
  599. <ReportParameter Name="Year">
  600. <DataType>String</DataType>
  601. <Prompt>Year</Prompt>
  602. <DefaultValue>
  603. <Values>
  604. <Value>2020</Value>
  605. </Values>
  606. </DefaultValue>
  607. </ReportParameter>
  608. <ReportParameter Name="ApiUrl">
  609. <DataType>String</DataType>
  610. <Prompt>ApiUrl</Prompt>
  611. <DefaultValue>
  612. <Values>
  613. <Value>http://api.ezwork.kr/api</Value>
  614. </Values>
  615. </DefaultValue>
  616. </ReportParameter>
  617. <ReportParameter Name="PriceTypeId">
  618. <DataType>String</DataType>
  619. <Prompt>PriceTypeId</Prompt>
  620. <DefaultValue>
  621. <Values>
  622. <Value>22</Value>
  623. </Values>
  624. </DefaultValue>
  625. </ReportParameter>
  626. </ReportParameters>
  627. <DataSources>
  628. <DataSource Name="EnergyUsage">
  629. <ConnectionProperties>
  630. <ConnectString>jsondoc=http://api.ezwork.kr/api/app/MonthlyReport/GetJson?siteId=115&amp;month=7&amp;year=2020&amp;tabName=EnergyUsageGasWater</ConnectString>
  631. <DataProvider>JSON</DataProvider>
  632. </ConnectionProperties>
  633. </DataSource>
  634. </DataSources>
  635. <DataSets>
  636. <DataSet Name="Graph">
  637. <Fields>
  638. <Field Name="FuelTypeId">
  639. <DataField>FuelTypeId</DataField>
  640. </Field>
  641. <Field Name="Title">
  642. <DataField>Title</DataField>
  643. </Field>
  644. <Field Name="TitleId">
  645. <DataField>TitleId</DataField>
  646. </Field>
  647. <Field Name="PriceCode">
  648. <DataField>PriceCode</DataField>
  649. </Field>
  650. <Field Name="TabType">
  651. <DataField>TabType</DataField>
  652. </Field>
  653. <Field Name="LineName">
  654. <DataField>LineName</DataField>
  655. </Field>
  656. <Field Name="LineLastName">
  657. <DataField>LineLastName</DataField>
  658. </Field>
  659. <Field Name="Day">
  660. <DataField>Day</DataField>
  661. </Field>
  662. <Field Name="Value">
  663. <DataField>Value</DataField>
  664. </Field>
  665. <Field Name="LastValue">
  666. <DataField>LastValue</DataField>
  667. </Field>
  668. <Field Name="MaxValue">
  669. <DataField>MaxValue</DataField>
  670. </Field>
  671. <Field Name="MinValue">
  672. <DataField>MinValue</DataField>
  673. </Field>
  674. </Fields>
  675. <Filters>
  676. <Filter>
  677. <FilterExpression>=Fields!TitleId.Value</FilterExpression>
  678. <FilterValues>
  679. <FilterValue>=Parameters!PriceTypeId.Value</FilterValue>
  680. </FilterValues>
  681. <Operator>Equal</Operator>
  682. </Filter>
  683. </Filters>
  684. <Query>
  685. <CommandText>$.EnergyUsageGasWater.EnergyUsageGraph[*]</CommandText>
  686. <DataSourceName>EnergyUsage</DataSourceName>
  687. </Query>
  688. </DataSet>
  689. </DataSets>
  690. </Report>