Project

General

Profile

Actions

Bug #6476

closed

Long metadata FormatID's run off the edge of the SVG element

Added by Lauren Walker almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/20/2014
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

They are all of the format:

//ecoinformatics.org//eml-attribute-2.0.0beta6//EN
//ecoinformatics.org//eml-physical-2.0.0beta6//EN
-//ecoinformatics.org//eml-entity-2.0.0beta6//EN

etc.

I may shorten them to EML attribute 2.0.0 (EN) and reduce their font size a bit so they'll fit

Actions #1

Updated by Lauren Walker over 10 years ago

  • Status changed from New to Resolved

A test query to view multiple donut arc labels with these metadata formats: http://localhost:8080/metacatui/#profile/+-formatId:"eml://ecoinformatics.org/eml-2.0.1"+-formatId:"eml://ecoinformatics.org/eml-2.0.0"

Similar to what I did with the EML formats, I have formatted these as "EML" + module type + version
Example: -//ecoinformatics.org//eml-access-2.0.0beta6//EN is formatted as EML attribute 2.0.0

This keeps labels from overflowing off the edge of the SVG element but also keeps the chart simple for the average user.

The formatting is implemented as a function to pass to the DonutChartView which is performed on each label in the chart. This keeps the EML-specific logic separate from the DonutChartView but also creates functionality that future donut charts can use.

Actions

Also available in: Atom PDF