Subscribe to this thread
Home - General / All posts - Style Format
BerndD

162 post(s)
#28-Jan-20 21:08

Where can I find a full description of the M9 style format.

Found a few Json examples in the docs, but nothing complete.

Any ideas where to look?


Organizations that want to adapt to CHANGE are using products that can adapt.

www.yeymaps.io

Dimitri


7,413 post(s)
#29-Jan-20 05:36

I don't think there is a central listing anywhere. A good place to look is in the Properties of a drawing or image. Put together a few complex styles that use the various Style parameters and the basics are pretty clear.

tjhb
10,094 post(s)
#29-Jan-20 05:52

I think it was a passive-aggressive post Dimitri [not yours].

“Any ideas where to look” my arse.

The OP knew that there is currently nowhere to look, and just wanted to, um... well kick I suppose. Without seeming to kick at all. Textbook.

It is always better to give and state a criticism, than to hint and mudge at it.

BerndD

162 post(s)
#30-Jan-20 01:51

Posting something aggressive here on this forum was the least I intended to do.

And if I would have to go about something that bothers me heavily I would not do it in public, but rather send an email to whomever it concerns.

In my opinion there is a good chance that some documentation exists. I don't think AI figured out how to handle the styles in M9.

The manual is pretty big and things can be overlooked easily. I was simply asking for help. If people on this forum are starting to interpret asking for help as criticism then I don't see a bright future for all of us. Let's put it this way: "We won't convince any first timers on the forum to work with Manifold that way".

Personally, I just stepped back a few inches.

Thank you and have a good day.


Organizations that want to adapt to CHANGE are using products that can adapt.

www.yeymaps.io

tjhb
10,094 post(s)
#31-Jan-20 23:52

Yes, I apologize to you Bernd and I agree.

It was me who overstepped. I made a stupid comment.

Sorry everyone.

adamw


10,447 post(s)
#29-Jan-20 08:11

We don't have a complete reference published. :-/ That's in the plans for the future.

In general, each control in the Style dialog corresponds to a separate JSON value.

One thing which we are planning to do here as well, which might help discovery, is copying / pasting styles from the buttons in the Style pane. That way you could create a style you want, then copy and paste from the button into a text editor - without having to dig it out of multiple values in the Properties dialog for the component.

BerndD

162 post(s)
#30-Jan-20 01:52

Thanks, Adam.

Sounds like a practical plan.


Organizations that want to adapt to CHANGE are using products that can adapt.

www.yeymaps.io

hugh
200 post(s)
#01-Feb-20 04:23

pasting a theme xml into text editor with 8 makes it relatively easy to to modify with variable, values and corresponding colors clear. Easier to modify a single theme in 8 but often also useful to write a simple external text change program to produce a series of variations on the theme display. Much faster way to get a good visualization of data systematically than clicking and waiting to redo themes.

I have wanted to do the same with the M9 style json string even though it has more manifestaions than the two xml files needed for M8 polygon boundary and fill. Like BernD I haven't found a description of the variables though it seems we have both found some partial examples here and there.

StyleAreaColor

{ "Field": "panglo", "Fill": "boundaverage", "Value": -16777216, "Values": { "0": -16777216, "0.041600000000000005": -16777216, "0.0833": -16777216, "0.125": -16777216, "0.1666": -16777216, "0.2083": -16777216, "0.25": -16777216, "0.2916": -16777216, "0.33330000000000004": 10807807, "0.375": 8577279, "0.4166": 7134207, "0.45830000000000004": 49151, "0.5": 65171, "0.5416000000000001": 4259438, "0.5833": 8453962, "0.625": 12582693, "0.6666000000000001": 16776960, "0.7083": 16770560, "0.75": 16764160, "0.7916000000000001": 16692224, "0.8333": 16685824, "0.875": 16675840, "0.9166000000000001": 16731648, "0.9583": 16721664, "1": 16711680 } }

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.