.tGraph {
  display: block;
  position: relative;
  height: 120px;
}

.tGraph_yAxis {
  position: absolute;
  width: 30px;
  height: calc(100% - 21px - 4px);
  top: 4px;
  left: 0;
  font-size: 10px;
}
.tGraph_xAxis {
  position: absolute;
  height: 16px;
  width: calc(100% - 29px - 20px);
  left: 29px;
  bottom: 4px;
  font-size: 10px;
}
.tGraph_dataArea {
  position: absolute;
  width: calc(100% - 30px - 20px);
  height: calc(100% - 20px - 4px);
  text-align: left;
  top: 4px;
  right: 20px;
  overflow: hidden;
}
.tGraph_legendArea {
  position: absolute;
  font-size: 10px;
  top: 8px;
  left: 44px;
  padding: 2px 3px 1px;
  overflow: hidden;
  border: 1px solid var(--gray-c);
  background-color: var(--gray-f-50);
}
.tGraph_footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  font-size: 12px;
  text-align: right;
  padding: 0 8px;
}

.tGraph_xAxis:after {
  position: absolute;
  content: " ";
  width: 100%;
  height: 4px;
  top: 0px;
  left: 0px;
  border-top: 1px solid var(--gray-a);
  border-right: 1px solid var(--gray-a);
  border-left: 1px solid var(--gray-a);
}
.tGraph_xAxisMinValue {
  position: absolute;
  text-align: right;
  bottom: 0;
  left: 0;
}
.tGraph_xAxisMaxValue {
  position: absolute;
  text-align: right;
  bottom: 0;
  right: 0;
}
.tGraph_yAxis:after {
  position: absolute;
  content: " ";
  height: 100%;
  top: 0px;
  right: 0px;
  width: 4px;
  border-top: 1px solid var(--gray-a);
  border-right: 1px solid var(--gray-a);
  border-bottom: 1px solid var(--gray-a);
}
.tGraph_yAxisMinValue {
  position: absolute;
  text-align: right;
  bottom: 0;
  right: 4px;
}
.tGraph_yAxisMaxValue {
  position: absolute;
  text-align: right;
  top: 0;
  right: 4px;
}

.tGraph_xAxisValue {
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 2px;
  box-sizing: border-box;
  margin-left: 1px;
  /* transform: rotate(-90deg); */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tGraph_column {
  display: inline-block;
  position: relative;
  height: 100%;
  margin-left: 1px;
}
.tGraph_data {
  position: absolute;
  width: 100%;
  left: 0px;
  transition: height 1s, bottom 1s;
  box-shadow: inset 0 0 1px #477;
}
.tGraph_column-hidden .tGraph_data {
  height: 0px !important;
  bottom: 0px !important;
}
.tGraph_column-hidden .tGraph_data-0 {
  height: 1px !important;
}
.tGraph_legend {
  padding-left: 10px;
  position: relative;
}
.tGraph_legend:before {
  content: " ";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 1px;
  left: 0;
  box-shadow: inset 0 0 1px #477;
}
.tGraph_data-0, .tGraph_legend-0:before {
  background-color: #8dd;
}
.tGraph_data-1, .tGraph_legend-1:before {
  background-image: linear-gradient(135deg, #8dd 25%, #eee 25%, #eee 50%, #8dd 50%, #8dd 75%, #eee 75%, #eee 100%);
  background-size: 6px 6px;
}
.tGraph_column-selected .tGraph_data-0 {
  background-color: #fc5;
}
.tGraph_column-selected .tGraph_data-1 {
  background-image: linear-gradient(135deg, #fc5 25%, #eee 25%, #eee 50%, #fc5 50%, #fc5 75%, #eee 75%, #eee 100%);
}


.tGraph_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cccb;
}
.tGraph_overlay:after {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "\f1ce";
  color: var(--gray-8);
  font: normal normal normal 20px/1 FontAwesome;
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}
