MCPcopy Create free account
hub / github.com/MITK/MITK / Show

Method Show

Modules/Chart/src/QmitkChartWidget.cpp:547–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547void QmitkChartWidget::Impl::Show(bool showSubChart)
548{
549 if (m_C3xyData.empty())
550 {
551 MITK_WARN << "no data available for display in chart";
552 }
553
554 else
555 {
556 m_C3Data.SetAppearance(showSubChart, m_C3xyData.front()->GetChartType() == QVariant("pie"));
557 }
558
559 InitializeJavaScriptChart();
560}
561
562void QmitkChartWidget::Impl::SetShowLegend(bool show)
563{

Calls 4

SetAppearanceMethod · 0.80
GetChartTypeMethod · 0.80
frontMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected