energyChargeGasWaterGraph.rdlx 16 KB

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