Commit 5639ca0c authored by Lauri Himanen's avatar Lauri Himanen Committed by Markus Scheidgen
Browse files

Refactored the properties tab to use a different set of properties, modified...

Refactored the properties tab to use a different set of properties, modified the properties tab layout, added support for choosing multiple histogram values with the 'multiple'-flag.
parent ddad8d64
......@@ -74,7 +74,6 @@ export default function Histogram({
const handleItemClicked = item => onClick(item)
useEffect(() => {
for (let i = data.length; i < numberOfValues; i++) {
data.push({key: `empty${i}`, name: '', value: 0})
......
......@@ -2,7 +2,6 @@ import React, { useContext, useEffect } from 'react'
import PropTypes from 'prop-types'
import { Grid } from '@material-ui/core'
import QuantityHistogram from '../search/QuantityHistogram'
import TooltipQuantityHistogram from '../search/TooltipQuantityHistogram'
import { searchContext } from '../search/SearchContext'
export function DFTMethodVisualizations(props) {
......@@ -89,7 +88,7 @@ DFTSystemVisualizations.propTypes = {
const electronic_quantities = [
'electronic_band_structure',
'electronic_dos',
'eigenvalues_values',
'eigenvalues_values'
]
const mechanical_quantities = [
'stress_tensor'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment