Skip to content

Commit

Permalink
A few tweaks
Browse files Browse the repository at this point in the history
Move the legend up off the graph (although 1.5 is arbitrary and maybe not
ideal -- is there a more dynamic way to do this).

Also, I fixed the name of a `.less` class earlier, but just happened to notice
the corresponding use...
  • Loading branch information
dbutenhof committed Oct 17, 2024
1 parent 993a4fe commit de38738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/actions/ilabActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export const fetchMultiGraphData = (uids) => async (dispatch, getState) => {
response.data.layout["showlegend"] = true;
response.data.layout["responsive"] = "true";
response.data.layout["autosize"] = "true";
response.data.layout["legend"] = { x: 0, y: 1 };
response.data.layout["legend"] = { x: 0, y: 1.5 };
const graphData = [];
graphData.push({
data: response.data.data,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const IlabCompareComponent = () => {
type={"ilab"}
/>
</div>
<div className="chart-conatiner">
<div className="chart-container">
{isGraphLoading ? (
<div className="loader"></div>
) : graphDataCopy?.length > 0 &&
Expand Down

0 comments on commit de38738

Please sign in to comment.