Skip to content

Commit

Permalink
Merge pull request #59 from noornoorie/ticket-51
Browse files Browse the repository at this point in the history
Quiver timeline, diachronic view - different criteria for coloring between average and single plots
  • Loading branch information
paulpestov authored Feb 6, 2024
2 parents 2b23ea5 + 07081bc commit 0ae4738
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/workflows/timeline/MetricChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { metricChartTooltipContent } from "@/helpers/metric-chart-tooltip-conten
import OverlayPanel from 'primevue/overlaypanel'
import BaseTimelineDetailedChart from "@/components/workflows/timeline/BaseTimelineDetailedChart.vue"
import timelineStore from "@/store/timeline-store"
import { isHigherPositive } from "@/helpers/metrics"
const props = defineProps<{
runs: EvaluationRun[],
Expand Down Expand Up @@ -55,6 +56,7 @@ function tooltipContent(d: TimelineChartDataPoint) {
:end-date="endDate"
:tooltip-content="tooltipContent"
:width="400"
:higher-is-positive="isHigherPositive(metric)"
/>
</div>
<OverlayPanel
Expand All @@ -75,6 +77,7 @@ function tooltipContent(d: TimelineChartDataPoint) {
:tooltip-content="tooltipContent"
:height="400"
:width="660"
:higher-is-positive="isHigherPositive(metric)"
/>
</OverlayPanel>
</template>
Expand Down

0 comments on commit 0ae4738

Please sign in to comment.