Closed msevestre closed 5 years ago
In the axes settings all fields are mandatory.
Not according to schema?
thx
Von: Michael Sevestre [mailto:notifications@github.com] Gesendet: Donnerstag, 11. April 2019 13:42 An: Open-Systems-Pharmacology/QualificationPlan Cc: Juri Solodenko; Assign Betreff: Re: [Open-Systems-Pharmacology/QualificationPlan] Why are properties required in PlotSettings? (#112)
Not according to schema?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/Open-Systems-Pharmacology/QualificationPlan/issues/112#issuecomment-482080415, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX5p9Hf1KZdKDYXn8zNU5T-J8rJvBd0jks5vfx-JgaJpZM4coIdD.
Yep, according to the schema.
Dimension
and Unit
are mandatory within dimensionAndUnit
-type GridLines
and Scaling
are mandatory within axis
-type;
axis
inherits properties from dimensionAndUnit
, thus those properties are also mandatory.Type
is mandatory within axesXY
-type (which inherits properties from axis and thus all axis-properties are mandatroy here)I think it makes sense.
I disagree. According to schema, AxesSettings properties are not mandatory
Also the code in the Qualfiication Engine checks for each property before assigning it. In a nutshell, you should not HAVE To define everything in a qualification plan according to me. What ever you define will take precedence over the default in Matlab
AxesSettings are mandatory
AxesSettings for particular plot type (your latest link from above) are not mandatory (because not all plot types are used in a qualification plan). What I would like to achieve (but this is not possible on schema level: if a plot type is available in qualification plan, then axes settings corresponding to this plot type must be given)
Regarding the Plot Settings: it's different discussion for me, than axes settings. Because for the axes settings there are either no defaults (dimension, unit), or it's pretty clear, what should be used (Scaling). For the font settings there are defaults indeed, thus we could make some (all?) properties of PlotSettings optional.
This is the title of the entry :) Why are properties required in PlotSettings
I think this is not helping consistency at all as people will be required to always define something!
I think there should not be absolutely Font, or width or height don't you think? Similar to AxisSettings. All opt-in