{"id":1981,"date":"2019-03-25T17:37:30","date_gmt":"2019-03-25T20:37:30","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/kb36122-criando-um-grafico-indexado\/"},"modified":"2024-03-28T15:20:50","modified_gmt":"2024-03-28T18:20:50","slug":"kb36122-criando-um-grafico-indexado","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/kb36122-criando-um-grafico-indexado\/","title":{"rendered":"KB-36122: Criando um gr\u00e1fico indexado."},"content":{"rendered":"<div style=\"text-align: justify;\" align=\"justify\">\n<p><span style=\"font-weight: bold;\">Descri\u00e7\u00e3o:<\/span><\/p>\n<p>Como posso criar um gr\u00e1fico indexado?<\/p>\n<p><span style=\"font-weight: bold;\">Solu\u00e7\u00e3o:<\/span><\/p>\n<p>Para isso, siga esses passos:<\/p>\n<p><b>1. <\/b>Crie um Banco de Dados.<\/p>\n<p><b>2.<\/b> Insira um XObject para armazenar todas as informa\u00e7\u00f5es do equipamento.<\/p>\n<p><b>3.<\/b> Insira um Hist\u00f3rico.<\/p>\n<p><b>4. <\/b>No XObject, configure um n\u00famero de propriedades igual ao n\u00famero de colunas a serem armazenadas no Hist\u00f3rico, definindo nomes e tipos:<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/Figura1.bmp\" alt=\"\" width=\"500\" height=\"147\" align=\"Baseline\" border=\"0\" \/><\/div>\n<\/div>\n<div style=\"margin: 0cm 0cm 0pt 36pt;\" align=\"justify\"><\/div>\n<div style=\"text-align: justify;\" align=\"justify\">\n<p><b>5.<\/b> No Hist\u00f3rico, adicione o n\u00famero de Campos de Dados necess\u00e1rio, e associe a fonte de cada um com uma das propriedades criadas anteriormente no XObject.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/Figura2.bmp\" alt=\"\" width=\"500\" height=\"116\" align=\"Baseline\" border=\"0\" \/><\/div>\n<\/div>\n<div align=\"justify\"><\/div>\n<div style=\"text-align: justify;\" align=\"justify\">\n<p><b>6. <\/b>Crie a seguinte associa\u00e7\u00e3o na propriedade <i>TableName <\/i>do Hist\u00f3rico para criar uma Tabela: <span style=\"font-family: Courier New;\">&#8220;TabelaHist&#8221;&#038;DadosGrafico.Name.<\/span><\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/Figura4.bmp\" alt=\"\" width=\"500\" height=\"294\" align=\"Baseline\" border=\"0\" \/><\/div>\n<\/div>\n<div style=\"margin: 0cm 0cm 0pt 36pt;\" align=\"justify\"><\/div>\n<div style=\"text-align: justify;\" align=\"justify\">\n<p><b>7.<\/b> Crie um XControl.<\/p>\n<p><b>8.<\/b> No XControl, adicione um E3Chart para buscar as informa\u00e7\u00f5es do XObject criado anteriormente, e o configure da seguinte forma:<\/p>\n<\/div>\n<div align=\"justify\">a. Na sua Consulta, crie a seguinte vari\u00e1vel SQL:<\/div>\n<div style=\"text-align: center;\" align=\"justify\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/Figura3.bmp\" alt=\"\" width=\"500\" height=\"375\" align=\"Baseline\" border=\"0\" \/><span style=\"font-family: Courier New; color: #333399; font-size: small;\"><br \/>\n<\/span><\/div>\n<div style=\"text-align: justify;\" align=\"justify\">\n<p>\u00a0\u00a0 b. Na aba <b>Penas<\/b>, crie um n\u00famero de penas de acordo com o n\u00famero de informa\u00e7\u00f5es a serem exibidas no E3Chart, e configure as suas propriedades <i>Consulta<\/i>, <i>Eixo Vertical<\/i>, e <i>Eixo Horizontal.<\/i><\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/Figura5.bmp\" alt=\"\" width=\"500\" height=\"138\" align=\"Baseline\" border=\"0\" \/><\/div>\n<\/div>\n<div align=\"justify\"><\/div>\n<div style=\"text-align: justify;\" align=\"justify\">\n<p><b>9. <\/b>Insira o XControl com o E3Chart em uma tela.<\/p>\n<p><b>10.<\/b> No script do objeto que chama a tela do E3Chart, configure para que as informa\u00e7\u00f5es do XObject associado a esse objeto sejam passadas para o campo <b>Fonte <\/b>do E3Chart.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/KB36122_Img10(1).JPG\" alt=\"\" width=\"511\" height=\"237\" align=\"Baseline\" border=\"0\" \/><\/div>\n<\/div>\n<div style=\"text-align: center;\" align=\"justify\">\n<p><span style=\"font-family: 'Times New Roman';\">\u00a0<\/span><\/p>\n<div style=\"text-align: center;\">\n<div style=\"text-align: left;\">\n<div style=\"text-align: justify;\">\n<p><span style=\"font-size: medium;\"><span style=\"font-family: 'Times New Roman';\"><b>11.<\/b> Escreva um script no evento <i>OnPreShow <\/i>da tela para tratar a informa\u00e7\u00e3o enviada pelo objeto que a chamou.<\/span><\/span><\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/KB36122_Img11(1).JPG\" alt=\"\" width=\"550\" height=\"369\" align=\"Baseline\" border=\"0\" \/><\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<div style=\"text-align: left;\">\n<div style=\"text-align: justify;\"><b>NOTA<\/b>: Em anexo, est\u00e1 a aplica\u00e7\u00e3o exemplo desenvolvida no <span style=\"font-weight: bold;\">Elipse E3 <\/span>vers\u00e3o 3.2 build 260.<\/div>\n<\/div>\n<div><\/div>\n<h3>Anexos:<\/h3>\n<div><a href=\"\/wp-content\/uploads\/2019\/03\/ExGraficoIndex-2.zip\">ExGraficoIndex.zip<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Descri\u00e7\u00e3o: Como posso criar um gr\u00e1fico indexado? Solu\u00e7\u00e3o: Para isso, siga esses passos: 1. Crie um Banco de Dados. 2. Insira um XObject para armazenar todas as informa\u00e7\u00f5es do equipamento.&hellip;<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[616],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KB-36122: Criando um gr\u00e1fico indexado. - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB-36122: Criando um gr\u00e1fico indexado.\" \/>\n<meta property=\"og:description\" content=\"Descri\u00e7\u00e3o: Como posso criar um gr\u00e1fico indexado? Solu\u00e7\u00e3o: Para isso, siga esses passos: 1. Crie um Banco de Dados. 2. Insira um XObject para armazenar todas as informa\u00e7\u00f5es do equipamento.&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:37:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T18:20:50+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/Figura1.bmp\" \/>\n<meta name=\"author\" content=\"Marco Antonio Gomes Silva\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marco Antonio Gomes Silva\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/\"},\"author\":{\"name\":\"Marco Antonio Gomes Silva\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/fa6d0b4f046e3b2c208aaf84a40154e9\"},\"headline\":\"KB-36122: Criando um gr\u00e1fico indexado.\",\"datePublished\":\"2019-03-25T20:37:30+00:00\",\"dateModified\":\"2024-03-28T18:20:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/\"},\"wordCount\":265,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"XControl \/ XObject \/ Lib\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/\",\"url\":\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/\",\"name\":\"[:pt]KB-36122: Criando um gr\u00e1fico indexado.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:37:30+00:00\",\"dateModified\":\"2024-03-28T18:20:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB-36122: Criando um gr\u00e1fico indexado.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/fa6d0b4f046e3b2c208aaf84a40154e9\",\"name\":\"Marco Antonio Gomes Silva\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7d19cf85bb457f81816ff5d785e3b9f4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7d19cf85bb457f81816ff5d785e3b9f4?s=96&d=mm&r=g\",\"caption\":\"Marco Antonio Gomes Silva\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/marco\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KB-36122: Criando um gr\u00e1fico indexado. - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]KB-36122: Criando um gr\u00e1fico indexado.[:] - Elipse Knowledgebase","og_description":"Descri\u00e7\u00e3o: Como posso criar um gr\u00e1fico indexado? Solu\u00e7\u00e3o: Para isso, siga esses passos: 1. Crie um Banco de Dados. 2. Insira um XObject para armazenar todas as informa\u00e7\u00f5es do equipamento.&hellip;","og_url":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:37:30+00:00","article_modified_time":"2024-03-28T18:20:50+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3182\/Figura1.bmp"}],"author":"Marco Antonio Gomes Silva","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Marco Antonio Gomes Silva","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/"},"author":{"name":"Marco Antonio Gomes Silva","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/fa6d0b4f046e3b2c208aaf84a40154e9"},"headline":"KB-36122: Criando um gr\u00e1fico indexado.","datePublished":"2019-03-25T20:37:30+00:00","dateModified":"2024-03-28T18:20:50+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/"},"wordCount":265,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["XControl \/ XObject \/ Lib"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/","url":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/","name":"[:pt]KB-36122: Criando um gr\u00e1fico indexado.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:37:30+00:00","dateModified":"2024-03-28T18:20:50+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/kb36122-criando-um-grafico-indexado\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"KB-36122: Criando um gr\u00e1fico indexado."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/fa6d0b4f046e3b2c208aaf84a40154e9","name":"Marco Antonio Gomes Silva","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7d19cf85bb457f81816ff5d785e3b9f4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7d19cf85bb457f81816ff5d785e3b9f4?s=96&d=mm&r=g","caption":"Marco Antonio Gomes Silva"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/marco\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1981"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=1981"}],"version-history":[{"count":4,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1981\/revisions"}],"predecessor-version":[{"id":16179,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1981\/revisions\/16179"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=1981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=1981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=1981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}